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