[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: cvs commit to base-config by barbier



> Store locale in /etc/environment when it is different from en_US.
> Closes: #237387

Good idea, but bad implementation.

> +   [ -f $environment ] || [ "$locale" = en_US ] || echo "LANG=$locale" > $environment

This one will remove the current content of /etc/environment.  That is
a bad idea.  It should append or replace the LANG variable instead.

Debian-edu store http_proxy and ftp_proxy variables in
/etc/environment.  It is a bad idea to remove them just to update the
LANG setting.



Reply to: