diff options
| author | Mattias Andrée <maandree@operamail.com> | 2013-10-01 00:31:45 +0200 |
|---|---|---|
| committer | Mattias Andrée <maandree@operamail.com> | 2013-10-01 00:31:45 +0200 |
| commit | de9e38f1fd96c1c4183188489af8a54774c335d8 (patch) | |
| tree | ad63f18f5ef20a31334c6179a96be860ca3f4232 | |
| parent | grammaro (diff) | |
| download | gates-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>
| -rw-r--r-- | gotrc-examples/commands | 2 |
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 |
