PREUN
/bin/sh
if [ "$1" = "0" ]; then
for centralized in /etc/sgml/*-docbook-*.cat
do /usr/bin/install-catalog --remove $centralized /usr/share/sgml/openjade-1.3.2/catalog > /dev/null 2>/dev/null
/usr/bin/install-catalog --remove $centralized /usr/share/sgml/docbook/dsssl-stylesheets-1.79/catalog > /dev/null 2>/dev/null
done
fi
exit 0
POSTIN
/bin/sh
rel=$(echo /etc/sgml/sgml-docbook-3.0-*.cat)
rel=${rel##*-}
rel=${rel%.cat}
for centralized in /etc/sgml/*-docbook-*.cat
do
/usr/bin/install-catalog --remove $centralized \
/usr/share/sgml/docbook/dsssl-stylesheets-*/catalog \
>/dev/null 2>/dev/null
done
for centralized in /etc/sgml/*-docbook-*$rel.cat
do
/usr/bin/install-catalog --add $centralized \
/usr/share/sgml/openjade-1.3.2/catalog \
> /dev/null 2>/dev/null
/usr/bin/install-catalog --add $centralized \
/usr/share/sgml/docbook/dsssl-stylesheets-1.79/catalog \
> /dev/null 2>/dev/null
done