summaryrefslogtreecommitdiff
path: root/system/docbook-xml/docbook-xml.post-upgrade
diff options
context:
space:
mode:
authorA. Wilcox <AWilcox@Wilcox-Tech.com>2018-06-25 06:09:38 -0500
committerA. Wilcox <AWilcox@Wilcox-Tech.com>2018-06-25 06:09:38 -0500
commit41248e0f93acf525137df8b42c0e00a5e4a5c773 (patch)
treee737d88666c157ef5a2f5f0cfe5d8037b97adb60 /system/docbook-xml/docbook-xml.post-upgrade
parent3784ad0541243e480e5b652db847b4c89e75cb24 (diff)
downloadpackages-41248e0f93acf525137df8b42c0e00a5e4a5c773.tar.gz
packages-41248e0f93acf525137df8b42c0e00a5e4a5c773.tar.bz2
packages-41248e0f93acf525137df8b42c0e00a5e4a5c773.tar.xz
packages-41248e0f93acf525137df8b42c0e00a5e4a5c773.zip
system/docbook-xml: pull in for docbook-xsl and completely overhaul
Diffstat (limited to 'system/docbook-xml/docbook-xml.post-upgrade')
-rw-r--r--system/docbook-xml/docbook-xml.post-upgrade21
1 files changed, 21 insertions, 0 deletions
diff --git a/system/docbook-xml/docbook-xml.post-upgrade b/system/docbook-xml/docbook-xml.post-upgrade
new file mode 100644
index 000000000..79bb90e7c
--- /dev/null
+++ b/system/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
+