diff options
author | Thierry N <thierryn1 at hispeed dot ch> | 2009-08-08 16:07:11 +0200 |
---|---|---|
committer | Thierry N <thierryn1 at hispeed dot ch> | 2009-08-08 16:07:11 +0200 |
commit | d03fb6c1d46aaa61a458a443707682c1a2f9dffa (patch) | |
tree | b39d61a4a989fa1b97b5cf8a826c499fca729a4e /base/docbook-xml/post-install | |
parent | b84685743693f2538660d9c5e27e71f4d380d714 (diff) | |
download | nutyx-pakxe-d03fb6c1d46aaa61a458a443707682c1a2f9dffa.tar.gz nutyx-pakxe-d03fb6c1d46aaa61a458a443707682c1a2f9dffa.tar.bz2 nutyx-pakxe-d03fb6c1d46aaa61a458a443707682c1a2f9dffa.tar.xz nutyx-pakxe-d03fb6c1d46aaa61a458a443707682c1a2f9dffa.zip |
Ajout de docbookxml#4.5-1
Diffstat (limited to 'base/docbook-xml/post-install')
-rw-r--r-- | base/docbook-xml/post-install | 23 |
1 files changed, 23 insertions, 0 deletions
diff --git a/base/docbook-xml/post-install b/base/docbook-xml/post-install new file mode 100644 index 000000000..3faf92dcb --- /dev/null +++ b/base/docbook-xml/post-install @@ -0,0 +1,23 @@ +#!/bin/sh + +# create XML catalog with initial docbook-xml catalog +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 |