prerm is in docbook-website 2.5.0.0-8.
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 | #! /bin/sh
# prerm script for docbook-website
# Maintainer: Mark Johnson <mrj@debian.org>
set -e
# Automatically added by dh_installxmlcatalogs
if [ "$1" = "remove" ] || [ "$1" = "upgrade" ]; then
update-xmlcatalog --del --type public --id "-//Norman Walsh//DTD Website" --root || true
update-xmlcatalog --del --type system --id "http://docbook.sourceforge.net/release/website" --root || true
update-xmlcatalog --del --type public --id "-//Norman Walsh//DTD Website" --package docbook-website || true
update-xmlcatalog --del --type system --id "http://docbook.sourceforge.net/release/website" --package docbook-website || true
fi
# End automatically added section
exit 0
|