diff options
Diffstat (limited to 'main/docbook-xml/docbook-xml.post-install')
-rw-r--r-- | main/docbook-xml/docbook-xml.post-install | 23 |
1 files changed, 23 insertions, 0 deletions
diff --git a/main/docbook-xml/docbook-xml.post-install b/main/docbook-xml/docbook-xml.post-install new file mode 100644 index 0000000000..fa5f2a997b --- /dev/null +++ b/main/docbook-xml/docbook-xml.post-install @@ -0,0 +1,23 @@ +#!/bin/sh + +if [ ! -e etc/xml/catalog ]; then + xmlcatalog --noout --create etc/xml/catalog +fi + +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 + |