diff --git a/util/wmaker.inst.in b/util/wmaker.inst.in index e29d18e5..6155844a 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#"