Code

Added dh-make-gosa check
authorcajus <cajus@594d385d-05f5-0310-b6e9-bd551577e9d8>
Tue, 3 Jun 2008 19:30:50 +0000 (19:30 +0000)
committercajus <cajus@594d385d-05f5-0310-b6e9-bd551577e9d8>
Tue, 3 Jun 2008 19:30:50 +0000 (19:30 +0000)
git-svn-id: https://oss.gonicus.de/repositories/gosa/trunk@11184 594d385d-05f5-0310-b6e9-bd551577e9d8

gosa-core/contrib/make-gosa-package

index 1687f42a3373db0324bc4731d08014f4adab2a57..8dc7bc4786fcc19cf12cc8c4bc5f5e84be48de99 100755 (executable)
@@ -44,6 +44,11 @@ usage() {
        exit 1
 }
 
+if ! which dh-make-gosa &> /dev/null; then
+       echo "Error: cannot find dh-make-gosa binary in path!";
+       exit 1
+fi
+
 # Import command line parameters
 PARMS=`getopt -o brscip:,h --long branch,changelog,plugins,section,si-section,release:,help -n "${0##*/}" -- "$@"`
 eval set -- "$PARMS"