diff options
author | Nicolás Reynolds <fauno@endefensadelsl.org> | 2014-06-05 13:21:59 -0300 |
---|---|---|
committer | Nicolás Reynolds <fauno@endefensadelsl.org> | 2014-06-05 13:21:59 -0300 |
commit | 4851a89f8c45e9fa325595adc986226ec8a1ca29 (patch) | |
tree | 332a09cf4b33dd110b1357fbea347765e98475e8 /libre/filesystem/locale.sh | |
parent | 1be493ca3a4dc6f226def04777b6381c3795d768 (diff) | |
parent | 959757ededada0e12a1dcc328520625b60ff6e60 (diff) |
Merge branch 'master' of vparabola:abslibre
Diffstat (limited to 'libre/filesystem/locale.sh')
-rw-r--r-- | libre/filesystem/locale.sh | 5 |
1 files changed, 2 insertions, 3 deletions
diff --git a/libre/filesystem/locale.sh b/libre/filesystem/locale.sh index 5fd4174d5..3cfc89c1b 100644 --- a/libre/filesystem/locale.sh +++ b/libre/filesystem/locale.sh @@ -9,11 +9,10 @@ elif [ -n $HOME ] && [ -r $HOME/.config/locale.conf ]; then . "$HOME/.config/locale.conf" elif [ -r /etc/locale.conf ]; then . /etc/locale.conf -elif [ -r /etc/rc.conf ]; then - LANG=$(. /etc/rc.conf 2>/dev/null; echo "$LOCALE") fi -export LANG="${LANG:-C}" +LANG=${LANG:-C} +export LANG [ -n "$LC_CTYPE" ] && export LC_CTYPE [ -n "$LC_NUMERIC" ] && export LC_NUMERIC [ -n "$LC_TIME" ] && export LC_TIME |