#! /bin/sh
# postinst script for debiandoc2dbxml
#
# see: dh_installdeb(1)

set -e

## ----------------------------------------------------------------------
## Install SGML catalog entries
PACKAGE=debiandoc2dbxml
CENTRALCAT=/etc/sgml/debiandoc-xml.cat
ORDCAT="${PACKAGE}/catalog"
if [ "$1" = "configure" ]
then
    update-catalog --quiet --add ${CENTRALCAT} /usr/share/sgml/${ORDCAT}

    update-catalog --quiet --add --super ${CENTRALCAT}
fi

# dh_installdeb will replace this with shell code automatically
# generated by other debhelper scripts.

#DEBHELPER#

exit 0


