prerm is in w3-dtd-mathml 2.0.0.0-5.
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 | #!/bin/sh
set -e
# Automatically added by dh_installcatalogs
if [ "$1" = "remove" ] || [ "$1" = "upgrade" ]; then
update-catalog --quiet --remove --super /etc/sgml/w3-dtd-mathml.cat
fi
# End automatically added section
# Automatically added by dh_installxmlcatalogs
if [ "$1" = "remove" ] || [ "$1" = "upgrade" ]; then
update-xmlcatalog --del --type public --id "-//W3C//DTD MathML" --root || true
update-xmlcatalog --del --type public --id "-//W3C//DTD XHTML 1.1 plus MathML" --root || true
update-xmlcatalog --del --type system --id "http://www.w3.org/TR/MathML2/dtd/" --root || true
update-xmlcatalog --del --type public --id "-//W3C//DTD MathML" --package w3-dtd-mathml || true
update-xmlcatalog --del --type public --id "-//W3C//DTD XHTML 1.1 plus MathML" --package w3-dtd-mathml || true
update-xmlcatalog --del --type system --id "http://www.w3.org/TR/MathML2/dtd/" --package w3-dtd-mathml || true
fi
# End automatically added section
|