Correcting handling of locale default and environment handling to not always append...
authorDaniel Baumann <daniel@debian.org>
Thu, 26 Mar 2009 13:15:31 +0000 (14:15 +0100)
committerDaniel Baumann <daniel@debian.org>
Thu, 26 Mar 2009 14:17:25 +0000 (15:17 +0100)
scripts/live-bottom/14locales

index 58f7e82..022a605 100755 (executable)
@@ -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}" ]