postrm is in sgml-data 2.0.6.
This file is a maintainer script. It is executed when installing (*inst) or removing (*rm) the package.
The actual contents of the file can be viewed below.
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 | #!/bin/sh
set -e
if [ "$1" = "purge" ]
then
rmdir -p --ignore-fail-on-non-empty /etc/sgml
rmdir -p --ignore-fail-on-non-empty /etc/xml
fi
# automatically generated debhelper commands
# Automatically added by dh_installcatalogs
if [ "$1" = "purge" ]; then
rm -f /etc/sgml/sgml-data.cat /etc/sgml/sgml-data.cat.old
fi
# End automatically added section
# Automatically added by dh_installxmlcatalogs
if [ "$1" = "purge" ]; then
rm -f /etc/xml/sgml-data.xml /etc/xml/sgml-data.xml.old
fi
# End automatically added section
exit 0
|