23 lines
371 B
Plaintext
Raw Normal View History

2011-08-23 07:40:22 +02:00
#! /bin/sh
# Abort if any command returns an error value
set -e
2015-02-28 12:42:20 +01:00
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
2015-02-28 12:42:20 +01:00
;;
*)
echo "postrm called with unknown argument \`$1'" >&2
exit 1
;;
esac
#DEBHELPER#