nut-debian/debian/nut-server.postrm

21 lines
332 B
Plaintext
Raw Normal View History

#!/bin/sh
2010-02-24 23:58:53 +02:00
set -e
2010-02-24 23:58:53 +02:00
case "$1" in
remove)
[ -d /run/nut ] && rmdir --ignore-fail-on-non-empty /run/nut >/dev/null 2>&1
2010-02-24 23:58:53 +02:00
;;
purge|upgrade|failed-upgrade|abort-install|abort-upgrade|disappear)
2010-02-24 23:58:53 +02:00
;;
*)
echo "postrm called with unknown argument \`$1'" >&2
exit 1
2010-02-24 23:58:53 +02:00
;;
esac
#DEBHELPER#
exit 0