[SCM] BOINC packaging branch, debian/experimental, updated. debian/6.2.18-2-15-g3cb826a

rmayorga rmayorga at debian.org
Sun Apr 5 21:26:40 UTC 2009


The following commit has been merged in the debian/experimental branch:
commit a67ee40a70da1f9089e33fc3702184ed7d4ae4d9
Author: rmayorga <rmayorga at debian.org>
Date:   Sun Apr 5 15:08:45 2009 -0600

    Integrate changes to boinc-client.init from unstable

diff --git a/debian/boinc-client.init b/debian/boinc-client.init
index 624618f..2e00ff6 100644
--- a/debian/boinc-client.init
+++ b/debian/boinc-client.init
@@ -55,13 +55,12 @@ if [ -z "$BOINC_USER" ]; then
 fi
 
 if [ ! -z "$BOINC_OPTS" ]; then
-	if [ ! `echo $FOO | grep  -- '--daemon' 1>/dev/null` ]; then
-		log_warning_msg "\`--deamon' option detected \
+	(echo $BOINC_OPTS | grep -- '--daemon' 1>/dev/null) &&
+		log_warning_msg "\`--daemon' option detected \
 			on /etc/default/boinc-client, this \
 			can cause problems on boinc. The option \
 			will be suppressed"
-			BOINC_OPTS=`echo "$BOINC_OPTS" | sed 's/--daemon//'`
-	fi
+		BOINC_OPTS=`echo "$BOINC_OPTS" | sed 's/--daemon//g'`
 fi
 
 PIDFILE=/var/run/boinc.pid

-- 
BOINC packaging



More information about the pkg-boinc-commits mailing list