Add an explicit 'exit 0'; xmlcatmgr may return a non-zero exit code if

the entries we want to add (or remove) already exist (or don't).

Submitted by:	Meno Abels <meno.abels@adviser.com>
This commit is contained in:
Dag-Erling Smørgrav 2005-05-01 15:27:33 +00:00
parent 0e4ba9cca4
commit bc2930f569
Notes: svn2git 2021-03-31 03:12:20 +00:00
svn path=/head/; revision=134455
2 changed files with 4 additions and 2 deletions

View File

@ -9,4 +9,6 @@ if [ "$2" != "POST-DEINSTALL" ]; then
exit 0
fi
${XMLCATMGR} -c "${CATALOG_PORTS_XML}" remove http://docbook.sourceforge.net/release/xsl/
${XMLCATMGR} -c "${CATALOG_PORTS_XML}" remove \
http://docbook.sourceforge.net/release/xsl/
exit 0

View File

@ -41,4 +41,4 @@ ${XMLCATMGR} -c "${CATALOG_PORTS_XML}" add delegateSystem \
${XMLCATMGR} -c "${CATALOG_PORTS_XML}" add delegateURI \
http://docbook.sourceforge.net/release/xsl/ \
"file://${CATALOG_XSL}"
exit 0