postinst is in docbook-dsssl 1.79-6ubuntu1.
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-dsssl.cat
for ordcat in /usr/share/sgml/docbook/stylesheet/dsssl/modular/catalog /usr/share/sgml/docbook/stylesheet/dsssl/modular/common/catalog; do
update-catalog --quiet --add /etc/sgml/docbook-dsssl.cat ${ordcat}
done
update-catalog --quiet --add --super /etc/sgml/docbook-dsssl.cat
fi
# End automatically added section
|