[SCM] live-config branch, debian, updated. debian/3.0_b1-1

Daniel Baumann daniel at debian.org
Wed Jul 25 13:24:14 UTC 2012


The following commit has been merged in the debian branch:
commit d7f7956eb5fd21f6f0fbb2d9e625f77062ccc7cb
Author: Daniel Baumann <daniel at debian.org>
Date:   Sat Jul 21 22:23:40 2012 +0200

    Correcting multi-locales assembling in locales script.

diff --git a/scripts/config/0050-locales b/scripts/config/0050-locales
index 21136a9..3ea820e 100755
--- a/scripts/config/0050-locales
+++ b/scripts/config/0050-locales
@@ -38,7 +38,7 @@ Configure_locales ()
 	then
 		# multiple locales specified
 		_LOCALE="$(echo ${LIVE_LOCALES} | sed -e 's|,.*||')"
-		_LOCALES="$(echo ${LIVE_LOCALES} | sed -e 's|.*,||' -e 's|,| |g')"
+		_LOCALES="$(echo ${LIVE_LOCALES} | sed -e "s|^${_LOCALE},||" -e 's|,| |g')"
 	else
 		# one or no locale specified
 		_LOCALE="${LIVE_LOCALES:-en_US.UTF-8}"

-- 
live-config



More information about the debian-live-changes mailing list