summaryrefslogtreecommitdiffstats
path: root/extra/docbook-xsl/post-install
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 /extra/docbook-xsl/post-install
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
Diffstat (limited to 'extra/docbook-xsl/post-install')
-rw-r--r--extra/docbook-xsl/post-install7
1 files changed, 7 insertions, 0 deletions
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