postinst 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 18 19 20 21 | #!/bin/sh
set -e
# Automatically added by dh_installcatalogs
if [ "$1" = "configure" ]; then
rm -f /etc/sgml/docutils-common.cat
for ordcat in /usr/share/xml/docutils/catalog; do
update-catalog --quiet --add /etc/sgml/docutils-common.cat ${ordcat}
done
update-catalog --quiet --add --super /etc/sgml/docutils-common.cat
fi
# End automatically added section
# Automatically added by dh_installxmlcatalogs
if [ "$1" = "configure" ]; then
update-xmlcatalog --add --type public --id "+//IDN docutils.sourceforge.net/" --package docutils-common --local /usr/share/xml/docutils/catalog.xml
update-xmlcatalog --add --type system --id "http://docutils.sourceforge.net/" --package docutils-common --local /usr/share/xml/docutils/catalog.xml
update-xmlcatalog --add --type public --id "+//IDN docutils.sourceforge.net/" --package docutils-common --root
update-xmlcatalog --add --type system --id "http://docutils.sourceforge.net/" --package docutils-common --root
fi
# End automatically added section
|