[SCM] live-config branch, debian-old-2.0, updated. debian/2.0.14-1-2-g59ba2aa

Daniel Baumann daniel at debian.org
Sun Jan 2 15:08:15 UTC 2011


The following commit has been merged in the debian-old-2.0 branch:
commit 59ba2aa95253dcfaaae2dd38131737bb0192726e
Author: Daniel Baumann <daniel at debian.org>
Date:   Sun Jan 2 16:07:38 2011 +0100

    Tightening grep call for live user in /etc/passwd to not fail with false-positives.

diff --git a/scripts/config/002-user-setup b/scripts/config/002-user-setup
index 867040b..ef161d8 100755
--- a/scripts/config/002-user-setup
+++ b/scripts/config/002-user-setup
@@ -25,7 +25,7 @@ User_setup ()
 Configure_user_setup ()
 {
 	# Checking if if package is already configured differently
-	if grep -q "^${LIVE_USERNAME}" /etc/passwd
+	if grep -q "^${LIVE_USERNAME}:" /etc/passwd
 	then
 		return
 	fi

-- 
live-config



More information about the debian-live-changes mailing list