2017-10-28 14:10:23 +02:00
|
|
|
surum=1.79.1
|
2016-02-24 01:27:23 +01:00
|
|
|
|
2016-05-15 01:13:31 +02:00
|
|
|
if [ ! -d /etc/xml ]; then install -v -m755 -d /etc/xml; fi &&
|
|
|
|
if [ ! -f /etc/xml/catalog ]; then
|
|
|
|
xmlcatalog --noout --create /etc/xml/catalog
|
2016-02-24 01:27:23 +01:00
|
|
|
fi
|
|
|
|
|
|
|
|
xmlcatalog --noout --add "rewriteSystem" \
|
2017-10-28 14:10:23 +02:00
|
|
|
"http://docbook.sourceforge.net/release/xsl/$surum" \
|
|
|
|
"/usr/share/xml/docbook/xsl-stylesheets-$surum" \
|
2016-05-15 01:13:31 +02:00
|
|
|
/etc/xml/catalog
|
2016-02-24 01:27:23 +01:00
|
|
|
|
|
|
|
xmlcatalog --noout --add "rewriteURI" \
|
2017-10-28 14:10:23 +02:00
|
|
|
"http://docbook.sourceforge.net/release/xsl/$surum" \
|
|
|
|
"/usr/share/xml/docbook/xsl-stylesheets-$surum" \
|
2016-05-15 01:13:31 +02:00
|
|
|
/etc/xml/catalog
|
2016-02-24 01:27:23 +01:00
|
|
|
|
|
|
|
xmlcatalog --noout --add "rewriteSystem" \
|
|
|
|
"http://docbook.sourceforge.net/release/xsl/current" \
|
2017-10-28 14:10:23 +02:00
|
|
|
"/usr/share/xml/docbook/xsl-stylesheets-$surum" \
|
2016-05-15 01:13:31 +02:00
|
|
|
/etc/xml/catalog
|
2016-02-24 01:27:23 +01:00
|
|
|
|
|
|
|
xmlcatalog --noout --add "rewriteURI" \
|
|
|
|
"http://docbook.sourceforge.net/release/xsl/current" \
|
2017-10-28 14:10:23 +02:00
|
|
|
"/usr/share/xml/docbook/xsl-stylesheets-$surum" \
|
2016-05-15 01:13:31 +02:00
|
|
|
/etc/xml/catalog
|
2016-02-24 01:27:23 +01:00
|
|
|
|
|
|
|
for version in 1.67.2
|
|
|
|
do
|
|
|
|
|
|
|
|
xmlcatalog --noout --add "rewriteSystem" \
|
2017-10-28 14:10:23 +02:00
|
|
|
"http://docbook.sourceforge.net/release/xsl/$surum" \
|
|
|
|
"/usr/share/xml/docbook/xsl-stylesheets-$surum" \
|
2016-05-15 01:13:31 +02:00
|
|
|
/etc/xml/catalog
|
2016-02-24 01:27:23 +01:00
|
|
|
|
|
|
|
xmlcatalog --noout --add "rewriteURI" \
|
2017-10-28 14:10:23 +02:00
|
|
|
"http://docbook.sourceforge.net/release/xsl/$surum" \
|
|
|
|
"/usr/share/xml/docbook/xsl-stylesheets-$surum" \
|
2016-05-15 01:13:31 +02:00
|
|
|
/etc/xml/catalog
|
2016-02-24 01:27:23 +01:00
|
|
|
|
|
|
|
xmlcatalog --noout --add "rewriteSystem" \
|
2017-10-28 14:10:23 +02:00
|
|
|
"http://docbook.sourceforge.net/release/xsl/$surum" \
|
|
|
|
"/usr/share/xml/docbook/xsl-stylesheets-$surum" \
|
2016-05-15 01:13:31 +02:00
|
|
|
/etc/xml/catalog
|
2016-02-24 01:27:23 +01:00
|
|
|
|
|
|
|
xmlcatalog --noout --add "rewriteURI" \
|
2017-10-28 14:10:23 +02:00
|
|
|
"http://docbook.sourceforge.net/release/xsl/$surum" \
|
|
|
|
"/usr/share/xml/docbook/xsl-stylesheets-$surum" \
|
2016-05-15 01:13:31 +02:00
|
|
|
/etc/xml/catalog
|
2016-02-24 01:27:23 +01:00
|
|
|
|
|
|
|
done
|