[Lunar-commits] <moonbase> docbook-sgml: don't install docbook-utils if i don't have it already.
Florin Braescu
florin at lunar-linux.org
Sun Sep 5 07:52:30 CEST 2010
commit 22231e783e2187df22d965bc133573b9cb3e37a9
Author: Florin Braescu <florin at lunar-linux.org>
Date: Sun Sep 5 08:52:30 2010 +0300
docbook-sgml: don't install docbook-utils if i don't have it already.
---
doc-tools/docbook-sgml/POST_INSTALL | 4 +++-
1 files changed, 3 insertions(+), 1 deletions(-)
diff --git a/doc-tools/docbook-sgml/POST_INSTALL b/doc-tools/docbook-sgml/POST_INSTALL
index 9044fe5..dd0c6e5 100644
--- a/doc-tools/docbook-sgml/POST_INSTALL
+++ b/doc-tools/docbook-sgml/POST_INSTALL
@@ -11,4 +11,6 @@ install-catalog --add $CENTRALIZED $DOCBOOK_INSTALL_DIR/catalog
done
# Do not loopback (breaks docbook-utils build)
install-catalog -r $CENTRALIZED /etc/sgml/catalog
-lin -rc docbook-utils
+if module_installed docbook-utils; then
+ lin -rc docbook-utils
+fi
\ No newline at end of file
More information about the Lunar-commits
mailing list