blob: 0b74654bcbc1134bf14db722ade4f2e6ace1f0f2 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
|
diff --git a/util/grub.d/00_header.in b/util/grub.d/00_header.in
index 93a9023..130abd4 100644
--- a/util/grub.d/00_header.in
+++ b/util/grub.d/00_header.in
@@ -191,7 +191,7 @@ EOF
EOF
# Gettext variables and module
-if [ "x${LANG}" != "xC" ] && [ "x${LANG}" != "x" ]; then
+if [ "x${LANG%.UTF-8}" != "xC" ] && [ "x${LANG}" != "x" ]; then
cat << EOF
set locale_dir=\$prefix/locale
set lang=${grub_lang}
|