aboutsummaryrefslogtreecommitdiffstats
path: root/main/docbook-xml/docbook-xml.post-deinstall
diff options
context:
space:
mode:
authorNatanael Copa <ncopa@alpinelinux.org>2010-11-16 13:23:35 +0000
committerNatanael Copa <ncopa@alpinelinux.org>2010-11-16 13:23:35 +0000
commit930680c57687c8936c8e60bbd420be08e920d7da (patch)
tree4c029ff389d41a2d9d1a1637ee19666e5c5b11e8 /main/docbook-xml/docbook-xml.post-deinstall
parentbd2ddb6dc8122798d94d1797e443e16f1566fffe (diff)
downloadaports-930680c57687c8936c8e60bbd420be08e920d7da.tar.bz2
aports-930680c57687c8936c8e60bbd420be08e920d7da.tar.xz
main/docbook-xml: fix installscript and dependecies
Diffstat (limited to 'main/docbook-xml/docbook-xml.post-deinstall')
-rw-r--r--main/docbook-xml/docbook-xml.post-deinstall4
1 files changed, 3 insertions, 1 deletions
diff --git a/main/docbook-xml/docbook-xml.post-deinstall b/main/docbook-xml/docbook-xml.post-deinstall
index 925378617f..ed0157da7a 100644
--- a/main/docbook-xml/docbook-xml.post-deinstall
+++ b/main/docbook-xml/docbook-xml.post-deinstall
@@ -1,3 +1,5 @@
#!/bin/sh
-xmlcatalog --noout --del file:///etc/xml/docbook-xml etc/xml/catalog
+if which xmlcatalog >/dev/null; then
+ xmlcatalog --noout --del file:///etc/xml/docbook-xml etc/xml/catalog
+fi