summaryrefslogtreecommitdiffstats
path: root/main/docbook-xml/docbook-xml.post-upgrade
diff options
context:
space:
mode:
Diffstat (limited to 'main/docbook-xml/docbook-xml.post-upgrade')
-rw-r--r--main/docbook-xml/docbook-xml.post-upgrade21
1 files changed, 21 insertions, 0 deletions
diff --git a/main/docbook-xml/docbook-xml.post-upgrade b/main/docbook-xml/docbook-xml.post-upgrade
new file mode 100644
index 000000000..79bb90e7c
--- /dev/null
+++ b/main/docbook-xml/docbook-xml.post-upgrade
@@ -0,0 +1,21 @@
+#!/bin/sh
+
+xmlcatalog --noout --del file:///etc/xml/docbook-xml etc/xml/catalog
+
+xmlcatalog --noout --add "delegatePublic" \
+ "-//OASIS//ENTITIES DocBook XML" \
+ "file:///etc/xml/docbook-xml" \
+ etc/xml/catalog
+xmlcatalog --noout --add "delegatePublic" \
+ "-//OASIS//DTD DocBook XML" \
+ "file:///etc/xml/docbook-xml" \
+ etc/xml/catalog
+xmlcatalog --noout --add "delegateSystem" \
+ "http://www.oasis-open.org/docbook/" \
+ "file:///etc/xml/docbook-xml" \
+ etc/xml/catalog
+xmlcatalog --noout --add "delegateURI" \
+ "http://www.oasis-open.org/docbook/" \
+ "file:///etc/xml/docbook-xml" \
+ etc/xml/catalog
+