#! /bin/sh
# prerm script for docbook-html-forms
#
# remove catalog entries

set -e

PACKAGE=docbook-html-forms
CENTRALCAT=/etc/sgml/${PACKAGE}.cat


if [ "$1" = remove ]; then
    update-catalog --quiet --remove --super ${CENTRALCAT}
elif [ "$1" = purge ]; then
    rm -f ${CENTRALCAT} ${CENTRALCAT}.old
    rm -rf /etc/sgml/${PACKAGE}
fi


#DEBHELPER#

exit 0


