blob: 0d6c6636e813d911f2c329339983ac6ab21eb61b (
plain)
1 #!/bin/sh
2
3 set -e
4
5 if [ ! -d /etc/xml ]; then
6 install -m 0755 -d /etc/xml
7 fi
8
9 if [ ! -f /etc/xml/catalog ]; then
10 xmlcatalog --noout --create /etc/xml/catalog
11 fi
12
13 xmlcatalog --noout --add "rewriteSystem" \
14 "http://docbook.sourceforge.net/release/xsl/1.78.1" \
15 "/usr/share/xml/docbook/xsl-stylesheets-1.78.1" \
16 /etc/xml/catalog
17
18 xmlcatalog --noout --add "rewriteURI" \
19 "http://docbook.sourceforge.net/release/xsl/1.78.1" \
20 "/usr/share/xml/docbook/xsl-stylesheets-1.78.1" \
21 /etc/xml/catalog
22
23 xmlcatalog --noout --add "rewriteSystem" \
24 "http://docbook.sourceforge.net/release/xsl/current" \
25 "/usr/share/xml/docbook/xsl-stylesheets-1.78.1" \
26 /etc/xml/catalog
27
28 xmlcatalog --noout --add "rewriteURI" \
29 "http://docbook.sourceforge.net/release/xsl/current" \
30 "/usr/share/xml/docbook/xsl-stylesheets-1.78.1" \
31 /etc/xml/catalog
|