nut/debian/nut-server.postrm

21 lines
332 B
Text
Raw Normal View History

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