4
# summary of how this script can be called:
7
# * <old-postrm> `upgrade' <new-version>
8
# * <new-postrm> `failed-upgrade' <old-version>
9
# * <new-postrm> `abort-install'
10
# * <new-postrm> `abort-install' <old-version>
11
# * <new-postrm> `abort-upgrade' <old-version>
12
# * <disappearer's-postrm> `disappear' <overwriter>
13
# <overwriter-version>
14
# for details, see http://www.debian.org/doc/debian-policy/ or
15
# the debian-policy package
19
LOG_DIR=/var/log/landscape
20
CONFIG_FILE=/etc/landscape/client.conf
21
deluser --quiet --system landscape >/dev/null || true
22
rm -f "${LOG_DIR}/sysinfo.log"*
23
rm -f "${CONFIG_FILE}"
26
remove|upgrade|failed-upgrade|abort-install|abort-upgrade|disappear)
30
echo "postrm called with unknown argument \`$1'" >&2
35
# dh_installdeb will replace this with shell code automatically
36
# generated by other debhelper scripts.