From 4ee1a6093ad914405f8a45faa965ca68734bc4f1 Mon Sep 17 00:00:00 2001 From: Luke Shumaker Date: Mon, 7 Dec 2015 00:39:40 -0500 Subject: tidy (specific) --- .config/login.d/01_locale.sh | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to '.config') 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 -- cgit v1.2.3-2-g168b