summaryrefslogtreecommitdiff
path: root/locale.sh
AgeCommit message (Collapse)Author
2011-11-27locale.sh: unset LANG before sourcing {locale,rc}.confDave Reisner
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 Gundersen
Thanks to Fabio Scotoni. Signed-off-by: Tom Gundersen <teg@jklm.no>
2011-10-29locale: fix locale.sh for zshTom Gundersen
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 Gundersen
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 Pozzi
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 Gundersen
Reported-by: Dave Reisner <d@falconindy.com> Signed-off-by: Tom Gundersen <teg@jklm.no>