The following commit has been merged in the master branch:
commit fb5d2e2f7006e37840b8aa624c9d16793ce3407f
Author: Geert Stappers <[email protected]>
Date: Wed Jul 3 21:22:24 2013 +0200
debian/init: continue if ENABLE_DAEMON is true
Due the semi colon was the exit allways executed
$ true || echo a ; echo b
b
$ false || echo a ; echo b
a
b
diff --git a/debian/init b/debian/init
index dfd4f35..357ddd8 100755
--- a/debian/init
+++ b/debian/init
@@ -33,7 +33,13 @@ SCRIPTNAME=/etc/init.d/$NAME
[ -r /etc/default/$NAME ] && . /etc/default/$NAME
# Exit if daemon run by initscript is disabled
-[ "$ENABLE_DAEMON" = "true" ] || echo "Doing nothing, disabled via
/etc/default/davmail"; exit 0
+if [ "$ENABLE_DAEMON" = "true" ]
+then
+ : # continue
+else
+ echo "Doing nothing, disabled via /etc/default/davmail"
+ exit 0
+fi
DAEMON_ARGS="/etc/davmail.properties"
--
davmail packaging
_______________________________________________
pkg-java-commits mailing list
[email protected]
http://lists.alioth.debian.org/cgi-bin/mailman/listinfo/pkg-java-commits