prerm is in docutils-common 0.8.1-4ubuntu1.
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 | #!/bin/sh
set -e
# Automatically added by dh_installxmlcatalogs
if [ "$1" = "remove" ] || [ "$1" = "upgrade" ]; then
update-xmlcatalog --del --type public --id "+//IDN docutils.sourceforge.net/" --root || true
update-xmlcatalog --del --type system --id "http://docutils.sourceforge.net/" --root || true
update-xmlcatalog --del --type public --id "+//IDN docutils.sourceforge.net/" --package docutils-common || true
update-xmlcatalog --del --type system --id "http://docutils.sourceforge.net/" --package docutils-common || true
fi
# End automatically added section
# Automatically added by dh_installcatalogs
if [ "$1" = "remove" ] || [ "$1" = "upgrade" ]; then
update-catalog --quiet --remove --super /etc/sgml/docutils-common.cat
fi
# End automatically added section
|