summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authortnut <thierryn1 at hispeed dot ch>2009-12-26 16:41:17 +0100
committertnut <thierryn1 at hispeed dot ch>2009-12-26 16:41:17 +0100
commit29a30c6e6bf61a6dde1163cb036c5dce9e768191 (patch)
tree7bc4afbd3b2c5520e5ac12b8df2f47ca03f24334
parentbc215b974780b15df1c6cc7df3a1c97c49a7ba1d (diff)
downloadnutyx-extra-29a30c6e6bf61a6dde1163cb036c5dce9e768191.tar.gz
nutyx-extra-29a30c6e6bf61a6dde1163cb036c5dce9e768191.tar.bz2
nutyx-extra-29a30c6e6bf61a6dde1163cb036c5dce9e768191.tar.xz
nutyx-extra-29a30c6e6bf61a6dde1163cb036c5dce9e768191.zip
docbook-xsl, maj dépendances et post-install
-rw-r--r--extra/docbook-xsl/Pkgfile2
-rw-r--r--extra/docbook-xsl/post-install7
2 files changed, 8 insertions, 1 deletions
diff --git a/extra/docbook-xsl/Pkgfile b/extra/docbook-xsl/Pkgfile
index 0a5d9023e..1da40e7f0 100644
--- a/extra/docbook-xsl/Pkgfile
+++ b/extra/docbook-xsl/Pkgfile
@@ -2,7 +2,7 @@
# URL: http://scrollkeeper.sourceforge.net/docbook.shtml
# Maintainer: NuTyX core team
# Packager: thierryn1 at hispeed dot ch
-# Depends on: libxml2
+# Depends on: libxml2, docbook-xml
name=docbook-xsl
version=1.75.2
diff --git a/extra/docbook-xsl/post-install b/extra/docbook-xsl/post-install
index c81456a3c..7c1fb4934 100644
--- a/extra/docbook-xsl/post-install
+++ b/extra/docbook-xsl/post-install
@@ -1,4 +1,11 @@
#!/bin/sh
+if [ ! -e /etc/xml/catalog ]
+
+then
+
+ echo "/etc/xml/catalog n'existe pas! Veuillez installer docbook-xml et exécuter à nouveau le script post-install!"
+ exit 1
+fi
if [ ! -d /etc/xml ]; then install -v -m755 -d /etc/xml; fi
if [ ! -f /etc/xml/catalog ]; then
xmlcatalog --noout --create /etc/xml/catalog