pve-manager/debian/postrm
Thomas Lamprecht d0e0394481 b/postrm: let debhelper generate systemd stuff
With #DEBHELPER# the manual maintained code will be autogenerated, no
need to manually track which services and timers this packages has.

Signed-off-by: Thomas Lamprecht <t.lamprecht@proxmox.com>
2018-03-12 15:14:16 +01:00

23 lines
371 B
Bash
Executable File

#! /bin/sh
# Abort if any command returns an error value
set -e
case "$1" in
purge)
rm -rf /var/log/pveproxy
rm -rf /var/lib/pve-manager
;;
remove|upgrade|failed-upgrade|abort-install|abort-upgrade|disappear)
rm -f /etc/cron.d/pveupdate
;;
*)
echo "postrm called with unknown argument \`$1'" >&2
exit 1
;;
esac
#DEBHELPER#