mirror of
https://git.freebsd.org/ports.git
synced 2025-06-03 11:56:28 -04:00
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
2 changed files with 4 additions and 2 deletions
|
@ -9,4 +9,6 @@ if [ "$2" != "POST-DEINSTALL" ]; then
|
||||||
exit 0
|
exit 0
|
||||||
fi
|
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 \
|
${XMLCATMGR} -c "${CATALOG_PORTS_XML}" add delegateURI \
|
||||||
http://docbook.sourceforge.net/release/xsl/ \
|
http://docbook.sourceforge.net/release/xsl/ \
|
||||||
"file://${CATALOG_XSL}"
|
"file://${CATALOG_XSL}"
|
||||||
|
exit 0
|
||||||
|
|
Loading…
Add table
Reference in a new issue