#!/bin/sh set -e PACKAGE=jade # this file will be automatically created CENTRALCAT=/etc/sgml/${PACKAGE}.cat # catalogs to be registered, relative to /usr/share/sgml # match against sgmldir-jade ORDCATS="jade/catalog" case "$1" in configure) # remove /usr/lib/sgml scheme install-sgmlcatalog --quiet --remove jade || true # remove really old and crufty name we used to use install-sgmlcatalog --quiet --remove dsssl || true # add a bunch of ordinary catalogs to our central catalog for ordcat in ${ORDCATS}; do update-catalog --quiet --add ${CENTRALCAT} /usr/share/sgml/${ordcat} done # add central catalog to the super catalog update-catalog --quiet --add --super ${CENTRALCAT} ;; esac #DEBHELPER# exit 0