#!/bin/sh

set -e

U_NAME='hbf'

case "$1" in
    purge)
        # Remove ${U_NAME} user and group
        userdel -r ${U_NAME} || true
        groupdel ${U_NAME} || true
    ;;

    remove|upgrade|failed-upgrade|abort-install|abort-upgrade|disappear)
    ;;

    *)
        echo "postrm called with unknown argument \`$1'" >&2
        exit 1
    ;;
esac

exit 0
