Bug#180040: locales: bad LANG setting in /etc/environment
At Thu, 06 Feb 2003 20:42:37 +0100,
Laurent Bonnaud wrote:
>
> Package: locales
> Version: 2.3.1-11
> Severity: normal
>
>
> Hi,
>
> after running "dpkg-reconfigure locales" (see my settings below),
> locales put this (incorrect) variable into /etc/environment:
>
> LANG=Leave
Absolutely right.
There are some problems; None or Leave is appeared twice after
selecting None or Leave. Default environment variable "Leave," is
appeared if we select None or Leave, and "Leave" does not affect
because locales.postinst checks "Leave alone".
I fixed default environment variable
(locales/default_environment_locale) problem to check
if [ -n "$SELECTED" -a "$SELECTED" != "Leave" -a "$SELECTED" != "Leave," ]; then
in locales.postinst. ("Leave," is needed for "None" is selected)
BTW, there are no explanation for "Leave" :-)
To be generated locale variable (locales/locales_to_be_generated)
has not fixed yet. Someone try to fix?
BTW, I wonder "Leave alone" is understandable word...
Regards,
-- gotom
Reply to: