1
0
mirror of https://git.FreeBSD.org/ports.git synced 2025-01-02 06:03:50 +00:00
freebsd-ports/textproc/website/files/pkg-deinstall.in
2003-11-12 15:11:34 +00:00

13 lines
319 B
Bash

#!/bin/sh
# This script will remove the website 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/website/