mirror of
https://github.com/gryf/wmaker.git
synced 2026-01-28 02:45:47 +01:00
wmaker.inst: better locale check
Signed-off-by: Alexey I. Froloff <raorn@altlinux.org>
This commit is contained in:
committed by
Carlos R. Mafra
parent
3c408fa179
commit
ba5fceb21c
@@ -14,10 +14,7 @@ fi
|
|||||||
# name of menu file we install (menu, plmenu)
|
# name of menu file we install (menu, plmenu)
|
||||||
inst_menu=""
|
inst_menu=""
|
||||||
|
|
||||||
LOCALE=$LANG
|
LOCALE="${LC_ALL-${LC_MESSAGES-$LANG}}"
|
||||||
if [ -z "$LOCALE" ]; then
|
|
||||||
LOCALE=$LC_ALL
|
|
||||||
fi
|
|
||||||
|
|
||||||
# directory where system wide configuration is stored
|
# directory where system wide configuration is stored
|
||||||
GLOBALDIR="#pkgdatadir#"
|
GLOBALDIR="#pkgdatadir#"
|
||||||
|
|||||||
Reference in New Issue
Block a user