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:
parent
0e4ba9cca4
commit
bc2930f569
Notes:
svn2git
2021-03-31 03:12:20 +00:00
svn path=/head/; revision=134455
@ -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
|
||||
|
@ -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
|
||||
|
Loading…
Reference in New Issue
Block a user