diff options
author | Luke Shumaker <shumakl@purdue.edu> | 2015-12-07 00:39:40 -0500 |
---|---|---|
committer | Luke Shumaker <shumakl@purdue.edu> | 2015-12-07 00:39:40 -0500 |
commit | 4ee1a6093ad914405f8a45faa965ca68734bc4f1 (patch) | |
tree | 96b885aaf6003a155aa3de047f0b713695f77be7 /.config/login.d/01_locale.sh | |
parent | 35eb6d2112ef2219e6d7766296465aedfc2b7439 (diff) |
tidy (specific)
Diffstat (limited to '.config/login.d/01_locale.sh')
-rw-r--r-- | .config/login.d/01_locale.sh | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/.config/login.d/01_locale.sh b/.config/login.d/01_locale.sh index 2e4f3c4..2c205fa 100644 --- a/.config/login.d/01_locale.sh +++ b/.config/login.d/01_locale.sh @@ -1,3 +1,4 @@ -if { [[ $LANG = C ]] || [[ -z $LANG ]]; } && grep '^en_US.UTF-8\s' /etc/locale.gen &>/dev/null; then +#!/hint/sh +if [ "$LANG" = C -o -z "$LANG" ] && grep '^en_US\.UTF-8\s' /etc/locale.gen &>/dev/null; then export LANG=en_US.UTF-8 fi |