#!/bin/sh

#DEBHELPER#

if [ "$1" = "purge" ] ; then
  # remove user/group on purge
  deluser --quiet --remove-home ser &>/dev/null || true
  # remove /etc/ser if empty
  rmdir /etc/ser || true
fi

exit 0