summaryrefslogtreecommitdiffstats
path: root/base/docbook-xsl/post-install
diff options
context:
space:
mode:
authortnut <thierryn1 at hispeed dot ch>2009-11-10 21:00:35 +0100
committertnut <thierryn1 at hispeed dot ch>2009-11-10 21:00:35 +0100
commit25539cdc77da45e842d59c7fe7cd9809906e6406 (patch)
tree51d81556b3ad85eb2d3a4093d45c66b044679ecb /base/docbook-xsl/post-install
parente1ab2b1a85725e6a39c60db0bac3caa3fcd8485b (diff)
downloadnutyx-pakxe-25539cdc77da45e842d59c7fe7cd9809906e6406.tar.gz
nutyx-pakxe-25539cdc77da45e842d59c7fe7cd9809906e6406.tar.bz2
nutyx-pakxe-25539cdc77da45e842d59c7fe7cd9809906e6406.tar.xz
nutyx-pakxe-25539cdc77da45e842d59c7fe7cd9809906e6406.zip
maj docbook-xsl#1.75.2-1
Diffstat (limited to 'base/docbook-xsl/post-install')
-rw-r--r--base/docbook-xsl/post-install13
1 files changed, 4 insertions, 9 deletions
diff --git a/base/docbook-xsl/post-install b/base/docbook-xsl/post-install
index 0c471b674..c81456a3c 100644
--- a/base/docbook-xsl/post-install
+++ b/base/docbook-xsl/post-install
@@ -1,14 +1,10 @@
#!/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
+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
-for DBXSLVER in 1.74
-do
+DBXSLVER=1.75.2
xmlcatalog --noout --add "rewriteSystem" \
"http://docbook.sourceforge.net/release/xsl/$DBXSLVER" \
"file:///usr/share/xml/docbook/xsl-stylesheets-$DBXSLVER" \
@@ -25,4 +21,3 @@ xmlcatalog --noout --add "rewriteURI" \
"http://docbook.sourceforge.net/release/xsl/current" \
"file:///usr/share/xml/docbook/xsl-stylesheets-$DBXSLVER" \
/etc/xml/catalog
-done