]> git.proxmox.com Git - pve-manager.git/blob - debian/postrm
b/postrm: let debhelper generate systemd stuff
[pve-manager.git] / debian / postrm
1 #! /bin/sh
2
3 # Abort if any command returns an error value
4 set -e
5
6 case "$1" in
7 purge)
8 rm -rf /var/log/pveproxy
9 rm -rf /var/lib/pve-manager
10 ;;
11
12 remove|upgrade|failed-upgrade|abort-install|abort-upgrade|disappear)
13 rm -f /etc/cron.d/pveupdate
14 ;;
15
16 *)
17 echo "postrm called with unknown argument \`$1'" >&2
18 exit 1
19 ;;
20 esac
21
22 #DEBHELPER#