#!/bin/sh
set -e

case "$1" in
    purge)
        if [ -d /run/systemd/system ] ; then
            /bin/systemctl --system daemon-reload >/dev/null || true
        fi
    ;;

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

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

exit 0
