[SCM] BOINC packaging branch, master, updated. debian/6.2.18-3-1-g266c534

rmayorga rmayorga at debian.org
Wed Mar 25 04:37:58 UTC 2009


The following commit has been merged in the master branch:
commit 266c534646fb17c2c3dcd8a7a0502c4ad94fbf05
Author: rmayorga <rmayorga at debian.org>
Date:   Tue Mar 24 22:37:17 2009 -0600

    remove unused var from init.d script thanks for the report and patch goes to Paul Saunders. (Closes: #520091)

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
diff --git a/debian/changelog b/debian/changelog
index 42f2df3..07896cd 100644
--- a/debian/changelog
+++ b/debian/changelog
@@ -1,3 +1,11 @@
+boinc (6.2.18-4) unstable; urgency=low
+
+  * remove unused var from init.d script
+    thanks for the report and patch goes to Paul Saunders.
+    (Closes: #520091)
+
+ -- Rene Mayorga <rmayorga at debian.org>  Sat, 21 Mar 2009 13:44:13 -0600
+
 boinc (6.2.18-3) unstable; urgency=low
 
   * Uploaded to unstable

-- 
BOINC packaging



More information about the pkg-boinc-commits mailing list