Remove obsolete files and old upgrade paths for users coming from version prior to wheezy

This commit is contained in:
Laurent Bigonville 2019-07-27 20:19:19 +02:00
parent 9aba586fa8
commit 3115b529b2
15 changed files with 39 additions and 632 deletions

20
debian/nut-client.postrm vendored Normal file
View file

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