From 245be6d3de8a9e1239154674be4ca818781e6f10 Mon Sep 17 00:00:00 2001 From: Daniel Baumann Date: Thu, 26 Mar 2009 14:15:31 +0100 Subject: Correcting handling of locale default and environment handling to not always append entries forever when using persistency. --- scripts/live-bottom/14locales | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'scripts') 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}" ] -- cgit v1.2.3