postinst is in docbook 4.5-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 | #!/bin/sh
set -e
# Automatically added by dh_installcatalogs
if [ "$1" = "configure" ]; then
rm -f /etc/sgml/docbook.cat
for ordcat in /usr/share/sgml/docbook/dtd/catalog /usr/share/sgml/docbook/dtd/2.4.1/catalog /usr/share/sgml/docbook/dtd/3.0/catalog /usr/share/sgml/docbook/dtd/3.1/catalog /usr/share/sgml/docbook/dtd/4.0/catalog /usr/share/sgml/docbook/dtd/4.1/catalog /usr/share/sgml/docbook/dtd/4.2/catalog /usr/share/sgml/docbook/dtd/4.3/catalog /usr/share/sgml/docbook/dtd/4.4/catalog /usr/share/sgml/docbook/dtd/4.5/catalog; do
update-catalog --quiet --add /etc/sgml/docbook.cat ${ordcat}
done
update-catalog --quiet --add --super /etc/sgml/docbook.cat
fi
# End automatically added section
|