aboutsummaryrefslogtreecommitdiffstats
path: root/gotrc-examples
diff options
context:
space:
mode:
authorMattias Andrée <maandree@operamail.com>2013-10-01 00:31:45 +0200
committerMattias Andrée <maandree@operamail.com>2013-10-01 00:31:45 +0200
commitde9e38f1fd96c1c4183188489af8a54774c335d8 (patch)
treead63f18f5ef20a31334c6179a96be860ca3f4232 /gotrc-examples
parentgrammaro (diff)
downloadgates-of-tartaros-de9e38f1fd96c1c4183188489af8a54774c335d8.tar.gz
gates-of-tartaros-de9e38f1fd96c1c4183188489af8a54774c335d8.tar.bz2
gates-of-tartaros-de9e38f1fd96c1c4183188489af8a54774c335d8.tar.xz
portability
Signed-off-by: Mattias Andrée <maandree@operamail.com>
Diffstat (limited to 'gotrc-examples')
-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