#!/bin/sh -n
# postrm script for yrmcds
#
# see: dh_installdeb(1)

set -e


case "$1" in
    purge|remove|upgrade|failed-upgrade|abort-install|abort-upgrade|disappear)
    ;;

    purge)
	rm -f /etc/yrmcds.conf
	getent passwd yrmcds > /dev/null && deluser  yrmcds
	getent group  yrmcds > /dev/null && delgroup yrmcds
    ;;
    remove)
	getent passwd yrmcds > /dev/null && deluser  yrmcds
	getent group  yrmcds > /dev/null && delgroup yrmcds
    ;;
    *)
        echo "postrm called with unknown argument \`$1'" >&2
        exit 1
    ;;
esac

# dh_installdeb will replace this with shell code automatically
# generated by other debhelper scripts.


#DEBHELPER#

exit 0
