aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDavid <dbphillipsnz@gmail.com>2014-04-10 22:11:37 +1200
committerDavid <dbphillipsnz@gmail.com>2014-04-10 22:11:37 +1200
commit1b4257f831ab818a76263433dd37cfdc01221d26 (patch)
tree5e9ec802859b95019bb57be1c3db71c317c8f106
parentc79d85e506e944b22a54432324f39e5a49a5fc0d (diff)
downloadparamano-1b4257f831ab818a76263433dd37cfdc01221d26.tar.xz
Fixed locale stuff... again
-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 $@