blob: 0952ce76f89199c0d9c613cb3255bbbf80e453fb (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
|
# $NetBSD: deinstall.tmpl,v 1.5 2004/05/06 14:39:05 minskim Exp $
#
# Unregister SGML/XML catalog entries.
#
XMLCATMGR='@XMLCATMGR@'
SGML_CATALOG='@SGML_CATALOG@'
XML_CATALOG='@XML_CATALOG@'
SGML_ENTRIES='@SGML_ENTRIES@'
XML_ENTRIES='@XML_ENTRIES@'
case ${STAGE} in
DEINSTALL)
if [ -n "${SGML_ENTRIES}" ]; then
set -- @SGML_ENTRIES@
while [ $# -gt 0 ]; do
${XMLCATMGR} -sc ${SGML_CATALOG} remove "$1" "$2"
shift; shift; shift
done
fi
if [ -n "${XML_ENTRIES}" ]; then
set -- @XML_ENTRIES@
while [ $# -gt 0 ]; do
${XMLCATMGR} -c ${XML_CATALOG} remove "$1" "$2"
shift; shift; shift
done
fi
;;
*)
;;
esac
|