blob: 35b9956fec84addf15954ed2360a69059d12cb12 (
plain)
1 #!/bin/bash
2
3 CATALOG=/etc/xml/catalog
4
5 if [ ! -f ${CATALOG} ]; then
6 xmlcatalog --noout --create ${CATALOG}
7 fi
8
9 xmlcatalog --noout --add "delegatePublic" \
10 "-//OASIS//ENTITIES DocBook XML" \
11 "file:///etc/xml/docbook-xml" \
12 ${CATALOG}
13
14 xmlcatalog --noout --add "delegatePublic" \
15 "-//OASIS//DTD DocBook XML" \
16 "file:///etc/xml/docbook-xml" \
17 ${CATALOG}
18
19 xmlcatalog --noout --add "delegateSystem" \
20 "http://www.oasis-open.org/docbook/" \
21 "file:///etc/xml/docbook-xml" \
22 ${CATALOG}
23
24 xmlcatalog --noout --add "delegateURI" \
25 "http://www.oasis-open.org/docbook/" \
26 "file:///etc/xml/docbook-xml" \
27 ${CATALOG}
|