Signed-off-by: Alexey I. Froloff <[email protected]>
---
 util/wmaker.inst.in |    5 +----
 1 files changed, 1 insertions(+), 4 deletions(-)

diff --git a/util/wmaker.inst.in b/util/wmaker.inst.in
index e29d18e..6155844 100644
--- a/util/wmaker.inst.in
+++ b/util/wmaker.inst.in
@@ -14,10 +14,7 @@ fi
 # name of menu file we install (menu, plmenu)
 inst_menu=""
 
-LOCALE=$LANG
-if [ -z "$LOCALE" ]; then
-       LOCALE=$LC_ALL
-fi
+LOCALE="${LC_ALL-${LC_MESSAGES-$LANG}}"
 
 # directory where system wide configuration is stored
 GLOBALDIR="#pkgdatadir#"
-- 
1.7.2.3


-- 
To unsubscribe, send mail to [email protected].

Reply via email to