postinst is in openjade 1.4devel1-20.
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 | #!/bin/sh
set -e
case "$1" in
configure)
## alternatives
update-alternatives --quiet --install \
/usr/bin/openjade openjade /usr/bin/openjade-1.4devel 20
;;
esac
# Automatically added by dh_installcatalogs
if [ "$1" = "configure" ]; then
rm -f /etc/sgml/openjade.cat
for ordcat in /usr/share/sgml/OpenJade/catalog; do
update-catalog --quiet --add /etc/sgml/openjade.cat ${ordcat}
done
update-catalog --quiet --add --super /etc/sgml/openjade.cat
fi
# End automatically added section
exit 0
|