aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rwxr-xr-xtrayfreq2
-rwxr-xr-xtrayfreq-set2
2 files changed, 2 insertions, 2 deletions
diff --git a/trayfreq b/trayfreq
index b193049..ccb1774 100755
--- a/trayfreq
+++ b/trayfreq
@@ -2,7 +2,7 @@
lang=$(locale | grep LANG | cut -d= -f2 | cut -d_ -f1)
-if [ lang = "fr" ]; then
+if [ x$lang = "xfr" ]; then
trayfreq-fr $@
else
trayfreq-en $@
diff --git a/trayfreq-set b/trayfreq-set
index c8a94f7..af80a4b 100755
--- a/trayfreq-set
+++ b/trayfreq-set
@@ -2,7 +2,7 @@
lang=$(locale | grep LANG | cut -d= -f2 | cut -d_ -f1)
-if [ lang = "fr" ]; then
+if [ x$lang = "xfr" ]; then
trayfreq-set-fr $@
else
trayfreq-set-en $@