aboutsummaryrefslogtreecommitdiff
path: root/locale.sh
AgeCommit message (Collapse)AuthorFiles
2012-04-28locale.sh: try harder to ensure locale is setDave Reisner1
If LANG is never set by /etc/locale.conf or /etc/rc.conf, ensure that we fall back on LANG=C. Signed-off-by: Dave Reisner <dreisner@archlinux.org>
2011-11-27locale.sh: unset LANG before sourcing {locale,rc}.confDave Reisner1
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>
2011-11-06locale.sh: fix LC_TELEPHONE/LC_MEASUREMENTTom Gundersen1
Thanks to Fabio Scotoni. Signed-off-by: Tom Gundersen <teg@jklm.no>
2011-10-29locale: fix locale.sh for zshTom Gundersen1
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>
2011-10-18locale.sh: support /etc/locale.confTom Gundersen1
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>
2011-09-25[initscript] Make locale.sh consistent with default rc.confGerardo Exequiel Pozzi1
rc.conf defaults LOCALE to en_US.UTF-8 Signed-off-by: Gerardo Exequiel Pozzi <vmlinuz386@yahoo.com.ar>
2011-08-19locale.sh: added missing file to gitTom Gundersen1
Reported-by: Dave Reisner <d@falconindy.com> Signed-off-by: Tom Gundersen <teg@jklm.no>