[SCM] Debian Live initramfs hook branch, master, updated. 1.157.1-1-3-g1e6a82f

Daniel Baumann daniel at debian.org
Thu Mar 26 13:23:43 UTC 2009


The following commit has been merged in the master branch:
commit 1e6a82fb0923ac2803eea808ede6ef00fcf4db8a
Author: Daniel Baumann <daniel at debian.org>
Date:   Thu Mar 26 14:15:31 2009 +0100

    Correcting handling of locale default and environment handling to not always append entries forever when using persistency.

diff --git a/scripts/live-bottom/14locales b/scripts/live-bottom/14locales
index 58f7e82..022a605 100755
--- a/scripts/live-bottom/14locales
+++ b/scripts/live-bottom/14locales
@@ -116,8 +116,8 @@ then
 
 	really_export LANG
 
-	printf 'LANG="%s"\n' "${LANG}" >> /root/etc/default/locale
-	printf 'LANG="%s"\n' "${LANG}" >> /root/etc/environment
+	printf 'LANG="%s"\n' "${LANG}" > /root/etc/default/locale
+	printf 'LANG="%s"\n' "${LANG}" > /root/etc/environment
 	printf '%s %s\n' "${LANG}" "${codepage}" > /root/etc/locale.gen
 
 	if [ -z "${SILENT}" ]

-- 
Debian Live initramfs hook



More information about the debian-live-changes mailing list