Remove obsolete files and old upgrade paths for users coming from version prior to wheezy
This commit is contained in:
parent
9aba586fa8
commit
3115b529b2
15 changed files with 39 additions and 632 deletions
20
debian/nut-client.postrm
vendored
Normal file
20
debian/nut-client.postrm
vendored
Normal 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
|
||||
Loading…
Add table
Add a link
Reference in a new issue