summaryrefslogtreecommitdiffstats
path: root/base/docbook-xsl/post-install
diff options
context:
space:
mode:
authorThierry N <thierryn1 at hispeed dot ch>2009-08-08 16:08:00 +0200
committerThierry N <thierryn1 at hispeed dot ch>2009-08-08 16:08:00 +0200
commit22f1c0939a0de09b884041a777d0d412a1f1f3ec (patch)
tree3b028befcbdb5233327bc2b119e98b4156a3a6c8 /base/docbook-xsl/post-install
parentd03fb6c1d46aaa61a458a443707682c1a2f9dffa (diff)
downloadnutyx-extra-22f1c0939a0de09b884041a777d0d412a1f1f3ec.tar.gz
nutyx-extra-22f1c0939a0de09b884041a777d0d412a1f1f3ec.tar.bz2
nutyx-extra-22f1c0939a0de09b884041a777d0d412a1f1f3ec.tar.xz
nutyx-extra-22f1c0939a0de09b884041a777d0d412a1f1f3ec.zip
Ajout de docbook-xsl#1.73.2-1
Diffstat (limited to 'base/docbook-xsl/post-install')
-rw-r--r--base/docbook-xsl/post-install28
1 files changed, 28 insertions, 0 deletions
diff --git a/base/docbook-xsl/post-install b/base/docbook-xsl/post-install
new file mode 100644
index 000000000..0c471b674
--- /dev/null
+++ b/base/docbook-xsl/post-install
@@ -0,0 +1,28 @@
+#!/bin/sh
+
+
+if [ ! -e /etc/xml/catalog ]
+then
+ echo "/etc/xml/catalog doesn't exist! Please install docbook-xml and run the post-install script!"
+ exit 1
+fi
+
+for DBXSLVER in 1.74
+do
+xmlcatalog --noout --add "rewriteSystem" \
+ "http://docbook.sourceforge.net/release/xsl/$DBXSLVER" \
+ "file:///usr/share/xml/docbook/xsl-stylesheets-$DBXSLVER" \
+ /etc/xml/catalog
+xmlcatalog --noout --add "rewriteURI" \
+ "http://docbook.sourceforge.net/release/xsl/$DBXSLVER" \
+ "file:///usr/share/xml/docbook/xsl-stylesheets-$DBXSLVER" \
+ /etc/xml/catalog
+xmlcatalog --noout --add "rewriteSystem" \
+ "http://docbook.sourceforge.net/release/xsl/current" \
+ "file:///usr/share/xml/docbook/xsl-stylesheets-$DBXSLVER" \
+ /etc/xml/catalog
+xmlcatalog --noout --add "rewriteURI" \
+ "http://docbook.sourceforge.net/release/xsl/current" \
+ "file:///usr/share/xml/docbook/xsl-stylesheets-$DBXSLVER" \
+ /etc/xml/catalog
+done