diff options
Diffstat (limited to 'extra')
-rw-r--r-- | extra/docbook-xsl/Pkgfile | 2 | ||||
-rw-r--r-- | extra/docbook-xsl/post-install | 7 |
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 |