2019-07-27 21:19:19 +03:00
|
|
|
#!/bin/sh
|
2010-02-24 23:58:53 +02:00
|
|
|
|
2019-07-27 21:19:19 +03:00
|
|
|
set -e
|
2010-02-24 23:58:53 +02:00
|
|
|
|
2019-07-27 21:19:19 +03: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
|
|
|
;;
|
2019-07-27 21:19:19 +03:00
|
|
|
purge|upgrade|failed-upgrade|abort-install|abort-upgrade|disappear)
|
2010-02-24 23:58:53 +02:00
|
|
|
;;
|
|
|
|
|
2019-07-27 21:19:19 +03:00
|
|
|
*)
|
|
|
|
echo "postrm called with unknown argument \`$1'" >&2
|
|
|
|
exit 1
|
2010-02-24 23:58:53 +02:00
|
|
|
;;
|
|
|
|
esac
|
|
|
|
|
|
|
|
#DEBHELPER#
|
|
|
|
|
2012-08-12 01:08:16 +03:00
|
|
|
exit 0
|