summaryrefslogtreecommitdiff
path: root/system/docbook-xml/docbook-xml.post-deinstall
diff options
context:
space:
mode:
Diffstat (limited to 'system/docbook-xml/docbook-xml.post-deinstall')
-rw-r--r--system/docbook-xml/docbook-xml.post-deinstall5
1 files changed, 5 insertions, 0 deletions
diff --git a/system/docbook-xml/docbook-xml.post-deinstall b/system/docbook-xml/docbook-xml.post-deinstall
new file mode 100644
index 000000000..1c9c465da
--- /dev/null
+++ b/system/docbook-xml/docbook-xml.post-deinstall
@@ -0,0 +1,5 @@
+#!/bin/sh
+
+if command -v xmlcatalog >/dev/null; then
+ xmlcatalog --noout --del file:///etc/xml/docbook-xml etc/xml/catalog
+fi