2
# postrm script for #PACKAGE#
4
# see: dh_installdeb(1)
9
CENTRALCAT=/etc/sgml/${PACKAGE}.cat
11
# summary of how this script can be called:
14
# * <old-postrm> `upgrade' <new-version>
15
# * <new-postrm> `failed-upgrade' <old-version>
16
# * <new-postrm> `abort-install'
17
# * <new-postrm> `abort-install' <old-version>
18
# * <new-postrm> `abort-upgrade' <old-version>
19
# * <disappearer's-postrm> `disappear' <r>overwrit>r> <new-version>
20
# for details, see http://www.debian.org/doc/debian-policy/ or
21
# the debian-policy package
26
/usr/sbin/install-sgmlcatalog --quiet --remove ${PACKAGE} || true
27
/usr/sbin/update-catalog --quiet --remove --super ${CENTRALCAT}
30
rm -f ${CENTRALCAT} ${CENTRALCAT}.old
32
upgrade|failed-upgrade|abort-install|abort-upgrade|disappear)
35
echo "postrm called with unknown argument \`$1'" >&2
40
# dh_installdeb will replace this with shell code automatically
41
# generated by other debhelper scripts.