summaryrefslogtreecommitdiffstats
path: root/extra/docbook-xsl/post-install
diff options
context:
space:
mode:
authortnut <thierryn1 at hispeed dot ch>2009-12-25 12:13:29 +0100
committertnut <thierryn1 at hispeed dot ch>2009-12-25 12:13:29 +0100
commitce99e255cbbf56a56eea99175bff8ac477ee3057 (patch)
tree7cff3b77c2c6e3400306f4c6af4aa696d859b3cf /extra/docbook-xsl/post-install
parent7ff1719b1072004c4e28c124fe6b050a65abdbd5 (diff)
downloadnutyx-pakxe-ce99e255cbbf56a56eea99175bff8ac477ee3057.tar.gz
nutyx-pakxe-ce99e255cbbf56a56eea99175bff8ac477ee3057.tar.bz2
nutyx-pakxe-ce99e255cbbf56a56eea99175bff8ac477ee3057.tar.xz
nutyx-pakxe-ce99e255cbbf56a56eea99175bff8ac477ee3057.zip
docbook-xsl déplacé dans extra et maj dépendances
Diffstat (limited to 'extra/docbook-xsl/post-install')
-rw-r--r--extra/docbook-xsl/post-install23
1 files changed, 23 insertions, 0 deletions
diff --git a/extra/docbook-xsl/post-install b/extra/docbook-xsl/post-install
new file mode 100644
index 000000000..c81456a3c
--- /dev/null
+++ b/extra/docbook-xsl/post-install
@@ -0,0 +1,23 @@
+#!/bin/sh
+if [ ! -d /etc/xml ]; then install -v -m755 -d /etc/xml; fi
+if [ ! -f /etc/xml/catalog ]; then
+ xmlcatalog --noout --create /etc/xml/catalog
+fi
+
+DBXSLVER=1.75.2
+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