aboutsummaryrefslogtreecommitdiffstats
path: root/main/docbook-xml/docbook-xml.post-upgrade
diff options
context:
space:
mode:
authorNatanael Copa <ncopa@alpinelinux.org>2009-08-16 20:02:57 +0000
committerNatanael Copa <ncopa@alpinelinux.org>2009-08-16 20:05:16 +0000
commit9307bb0cab3cccae8cd332a265ed065247553bc5 (patch)
treed3e0601ac0de28b22e677f2a7049c3c6be54fc5d /main/docbook-xml/docbook-xml.post-upgrade
parentaa530ea865f5f6a0ca4d816422abea0230af07a0 (diff)
downloadaports-9307bb0cab3cccae8cd332a265ed065247553bc5.tar.gz
aports-9307bb0cab3cccae8cd332a265ed065247553bc5.tar.bz2
aports-9307bb0cab3cccae8cd332a265ed065247553bc5.tar.xz
main/docbook-xml: new aport
A widely used XML scheme for writing documentation and help http://scrollkeeper.sourceforge.net/docbook.shtml
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 0000000000..79bb90e7c3
--- /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
+