postinst is in docbook-mathml 1.1CR1-2.
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 25 26 27 | #!/bin/sh
set -e
# Automatically added by dh_installxmlcatalogs
if [ "$1" = "configure" ]; then
update-xmlcatalog --add --type system --id "http://www.oasis-open.org/docbook/xml/mathml/" --package docbook-mathml --local /usr/share/xml/docbook/custom/mathml/catalog.xml
update-xmlcatalog --add --type public --id "-//OASIS//DTD DocBook MathML//EN" --package docbook-mathml --local /usr/share/xml/docbook/custom/mathml/catalog.xml
update-xmlcatalog --add --type system --id "http://www.oasis-open.org/docbook/xml/mathml/1.0/dbmathml.dtd" --package docbook-mathml --local /usr/share/xml/docbook/custom/mathml/1.0/catalog.xml
update-xmlcatalog --add --type public --id "-//OASIS//DTD DocBook MathML Module V1.0//EN" --package docbook-mathml --local /usr/share/xml/docbook/custom/mathml/1.0/catalog.xml
update-xmlcatalog --add --type system --id "http://www.oasis-open.org/docbook/xml/mathml/1.1b1/dbmathml.dtd" --package docbook-mathml --local /usr/share/xml/docbook/custom/mathml/1.1b1/catalog.xml
update-xmlcatalog --add --type public --id "-//OASIS//DTD DocBook MathML Module V1.1b1//EN" --package docbook-mathml --local /usr/share/xml/docbook/custom/mathml/1.1b1/catalog.xml
update-xmlcatalog --add --type system --id "http://www.oasis-open.org/docbook/xml/mathml/1.1CR1/dbmathml.dtd" --package docbook-mathml --local /usr/share/xml/docbook/custom/mathml/1.1CR1/catalog.xml
update-xmlcatalog --add --type public --id "-//OASIS//DTD DocBook MathML Module V1.1CR1//EN" --package docbook-mathml --local /usr/share/xml/docbook/custom/mathml/1.1CR1/catalog.xml
update-xmlcatalog --add --type system --id "http://www.oasis-open.org/docbook/xml/mathml/" --package docbook-mathml --root
update-xmlcatalog --add --type public --id "-//OASIS//DTD DocBook MathML" --package docbook-mathml --root
fi
# End automatically added section
# Automatically added by dh_installcatalogs
if [ "$1" = "configure" ]; then
rm -f /etc/sgml/docbook-mathml.cat
for ordcat in /usr/share/xml/docbook/custom/mathml/catalog /usr/share/xml/docbook/custom/mathml/1.0/catalog /usr/share/xml/docbook/custom/mathml/1.1b1/catalog /usr/share/xml/docbook/custom/mathml/1.1CR1/catalog; do
update-catalog --quiet --add /etc/sgml/docbook-mathml.cat ${ordcat}
done
update-catalog --quiet --add --super /etc/sgml/docbook-mathml.cat
fi
# End automatically added section
|