1
0
mirror of https://github.com/gryf/wmaker.git synced 2026-01-08 14:54:13 +01:00

wmaker.inst: better locale check

Signed-off-by: Alexey I. Froloff <raorn@altlinux.org>
This commit is contained in:
Alexey I. Froloff
2010-10-08 16:14:43 +04:00
committed by Carlos R. Mafra
parent 3c408fa179
commit ba5fceb21c

View File

@@ -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#"