diff options
author | des <des@FreeBSD.org> | 2005-05-01 23:27:33 +0800 |
---|---|---|
committer | des <des@FreeBSD.org> | 2005-05-01 23:27:33 +0800 |
commit | facf24db676927cc767c527db64e95d1ac3a6333 (patch) | |
tree | 3fc8a1abd3841e67da5e5678953004f2d9bd8447 /textproc | |
parent | 31762621a7945880e6d58ce72626ecaa6f2b24d5 (diff) | |
download | freebsd-ports-gnome-facf24db676927cc767c527db64e95d1ac3a6333.tar.gz freebsd-ports-gnome-facf24db676927cc767c527db64e95d1ac3a6333.tar.zst freebsd-ports-gnome-facf24db676927cc767c527db64e95d1ac3a6333.zip |
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>
Diffstat (limited to 'textproc')
-rw-r--r-- | textproc/docbook-xsl/files/pkg-deinstall.in | 4 | ||||
-rw-r--r-- | textproc/docbook-xsl/files/pkg-install.in | 2 |
2 files changed, 4 insertions, 2 deletions
diff --git a/textproc/docbook-xsl/files/pkg-deinstall.in b/textproc/docbook-xsl/files/pkg-deinstall.in index 0ae6bfa3379c..d5743543c193 100644 --- a/textproc/docbook-xsl/files/pkg-deinstall.in +++ b/textproc/docbook-xsl/files/pkg-deinstall.in @@ -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 diff --git a/textproc/docbook-xsl/files/pkg-install.in b/textproc/docbook-xsl/files/pkg-install.in index c4cba41c43ed..cce7e93077a0 100644 --- a/textproc/docbook-xsl/files/pkg-install.in +++ b/textproc/docbook-xsl/files/pkg-install.in @@ -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 |