3
# Debian post removal script
5
# Install of already installed package:
6
# 1) Upgrade of package:
7
# new-preinst upgrade old-version
8
# *) new-postrm abort-upgrade old-version
9
# 2) package had some configuration files from a previous version installed
10
# new-preinst install old-version
11
# *) new-postrm abort-install old-version
12
# 3) Otherwise (i.e., the package was completely purged)
14
# *) new-postrm abort-install
16
# Removal of a package:
18
# 2) The package's files are removed (except conffiles).
20
# 4) All the maintainer scripts except the postrm are removed.
21
# 5) The conffiles and any backup files
22
# (~-files, #*# files, %-files, .dpkg-{old,new,tmp}, etc.) are removed.
24
# 7) The package's file list is removed
28
PACKAGE=libmilter1.0.1;
32
# /usr/share/doc/$PACKAGE is a symlink to /usr/share/doc/sendmail
33
rm -f /usr/share/doc/$PACKAGE 2>/dev/null || true;
34
rmdir /usr/share/doc/sendmail 2>/dev/null || true;
43
failed-upgrade|abort-install|abort-upgrade|disappear)
47
echo "$PACKAGE postrm called with unknown argument \`$1'" >&2;