Skip to content

Commit

Permalink
Correcting handling of locale default and environment handling to not…
Browse files Browse the repository at this point in the history
… always append entries forever when using persistency.
  • Loading branch information
daniel-baumann committed Mar 26, 2009
1 parent 8bac4e8 commit cc12bbf
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions scripts/live-bottom/14locales
Expand Up @@ -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}" ]
Expand Down

0 comments on commit cc12bbf

Please sign in to comment.