[debian-edu-commits] debian-edu/ 01/04: scripts/get_manual: add check whether libwww-perl is installed and error out early if it is not.

Holger Levsen holger at layer-acht.org
Mon Oct 17 14:02:53 UTC 2016


This is an automated email from the git hooks/post-receive script.

holger pushed a commit to branch master
in repository debian-edu-doc.

commit e7a45635ac447edc95df8e534bae8298476de0f0
Author: Holger Levsen <holger at layer-acht.org>
Date:   Mon Oct 17 15:40:08 2016 +0200

    scripts/get_manual: add check whether libwww-perl is installed and error out early if it is not.
---
 debian/changelog                 | 7 +++++++
 documentation/scripts/get_manual | 5 +++++
 2 files changed, 12 insertions(+)

diff --git a/debian/changelog b/debian/changelog
index 1af6cca..3a63b7d 100644
--- a/debian/changelog
+++ b/debian/changelog
@@ -1,3 +1,10 @@
+debian-edu-doc (1.909~20161018) UNRELEASED; urgency=medium
+
+  * scripts/get_manual: add check whether libwww-perl is installed and error
+    out early if it is not.
+
+ -- Holger Levsen <holger at debian.org>  Mon, 17 Oct 2016 15:39:08 +0200
+
 debian-edu-doc (1.908~20161017) unstable; urgency=medium
 
   [ Wolfgang Schweer ]
diff --git a/documentation/scripts/get_manual b/documentation/scripts/get_manual
index 65c24da..bd73f7e 100755
--- a/documentation/scripts/get_manual
+++ b/documentation/scripts/get_manual
@@ -27,6 +27,11 @@ if [ ! $(which xmllint) ] ; then
 	exit 1
 fi
 
+if [ ! $(which GET) ] ; then
+	echo "Please install libwww-perl."
+	exit 1
+fi
+
 if [ "$name" = "" ] ; then 
 	echo "error: missing \$name variable, not exported from Makefile?"
 	exit 1

-- 
Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/debian-edu/debian-edu-doc.git



More information about the debian-edu-commits mailing list