Age | Commit message (Collapse) | Author |
|
If we source locale.sh with a LANG already set and locale.conf doesn't
exist, we may never properly set the locale according rc.conf.
Signed-off-by: Dave Reisner <dreisner@archlinux.org>
|
|
Thanks to Fabio Scotoni.
Signed-off-by: Tom Gundersen <teg@jklm.no>
|
|
Uglier script, but should now work with zsh as well as bash.
v2: only read rc.conf if LANG is not set in locale.conf, no
functional change. Based on suggestion by Dave.
Signed-off-by: Tom Gundersen <teg@jklm.no>
|
|
This is mainly to support non-bash shells that cannot source rc.conf.
The format of /etc/locale.conf is described here:
<http://0pointer.de/public/systemd-man/locale.conf.html>.
If LANG is not set in locale.conf, then we fall back to LOCALE
from rc.conf, as before.
Signed-off-by: Tom Gundersen <teg@jklm.no>
|
|
rc.conf defaults LOCALE to en_US.UTF-8
Signed-off-by: Gerardo Exequiel Pozzi <vmlinuz386@yahoo.com.ar>
|
|
Reported-by: Dave Reisner <d@falconindy.com>
Signed-off-by: Tom Gundersen <teg@jklm.no>
|