From 29a30c6e6bf61a6dde1163cb036c5dce9e768191 Mon Sep 17 00:00:00 2001 From: tnut Date: Sat, 26 Dec 2009 16:41:17 +0100 Subject: docbook-xsl, maj dépendances et post-install MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- extra/docbook-xsl/Pkgfile | 2 +- extra/docbook-xsl/post-install | 7 +++++++ 2 files changed, 8 insertions(+), 1 deletion(-) (limited to 'extra/docbook-xsl') 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 -- cgit v1.2.3-54-g00ecf