summaryrefslogblamecommitdiff
path: root/system/docbook-xml/docbook-xml.post-install
blob: fa5f2a997b39e7fba00e612a72f0a684b5e64c87 (plain) (tree)






















                                                   
#!/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