2
# postinst script for docbook-html-forms
4
# jobs: install SGML catalogs
8
# TODO: this stuff should be dynamic out of rules
10
PACKAGE=docbook-html-forms
12
CENTRALCAT=/etc/sgml/${PACKAGE}.cat
13
PKGDIR=/usr/share/sgml/docbook/custom/${DTDNAME}
15
# ordinary catalogs, relative to PKGDIR
18
if [ "$1" = configure ]; then
19
# remove the old catalog
20
install-sgmlcatalog --quiet --remove $PACKAGE
23
for ordcat in ${ORDCATS}; do
24
update-catalog --quiet --add ${CENTRALCAT} ${PKGDIR}/${ordcat}
26
update-catalog --quiet --add --super ${CENTRALCAT}