From de9e38f1fd96c1c4183188489af8a54774c335d8 Mon Sep 17 00:00:00 2001 From: Mattias Andrée Date: Tue, 1 Oct 2013 00:31:45 +0200 Subject: portability MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Signed-off-by: Mattias Andrée --- gotrc-examples/commands | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'gotrc-examples/commands') 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 -- cgit v1.2.3-70-g09d2