aboutsummaryrefslogtreecommitdiffstats
path: root/gotrc-examples/commands
diff options
context:
space:
mode:
Diffstat (limited to 'gotrc-examples/commands')
-rw-r--r--gotrc-examples/commands2
1 files changed, 1 insertions, 1 deletions
diff --git a/gotrc-examples/commands b/gotrc-examples/commands
index 2f84b7f..9bcf669 100644
--- a/gotrc-examples/commands
+++ b/gotrc-examples/commands
@@ -22,7 +22,7 @@ _login_commands ()
acpi -V
read __
elif [ "${user}" = "+backlight" ]; then
- if [ "${LANG/UTF-8/}" = "${LANG}" ]; then
+ if [ "${LANG%UTF-8*}" = "${LANG}" ]; then
export LANG="en_GB.UTF-8"
fi
adjbacklight