freebsd-ports/textproc/docbook-xsl/files/pkg-deinstall.in
Dag-Erling Smørgrav 86e5aef105 Use xmlcatmgr to register the catalogs correctly.
Submitted by:	Rui Lopes <rui@ruilopes.com>
PR:		ports/54042
2003-07-08 09:46:29 +00:00

12 lines
319 B
Bash

#!/bin/sh
# This script will remove the docbook-xsl entries added to xml catalog.
# -- Rui Lopes <rui@ruilopes.com>
XMLCATMGR=@XMLCATMGR@
CATALOG_PORTS_XML=@CATALOG_PORTS_XML@
if [ "$2" != "POST-DEINSTALL" ]; then
exit 0
fi
${XMLCATMGR} -c "${CATALOG_PORTS_XML}" remove http://docbook.sourceforge.net/release/xsl/