blob: d4c829309b3cb1e9f49f0ae18eb593fbc5f8615d (
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.75.2" \
15 "/usr/share/xml/docbook/xsl-stylesheets-1.75.2" \
16 /etc/xml/catalog
17
18 xmlcatalog --noout --add "rewriteURI" \
19 "http://docbook.sourceforge.net/release/xsl/1.75.2" \
20 "/usr/share/xml/docbook/xsl-stylesheets-1.75.2" \
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.75.2" \
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.75.2" \
31 /etc/xml/catalog
|