X-Git-Url: http://git.grml.org/?a=blobdiff_plain;f=scripts%2Flive-functions;h=c5055a0a642c14458eb7fc708d10178c77e01826;hb=bd2cfbec5fe67ea696162c1caa5c80187a070bee;hp=b6d04fb6bd69fbbcb8f4515fa72ed49e3c26e769;hpb=2230ff365f2d20a98a59a8164e0f3f17479b35d0;p=live-boot-grml.git diff --git a/scripts/live-functions b/scripts/live-functions index b6d04fb..c5055a0 100644 --- a/scripts/live-functions +++ b/scripts/live-functions @@ -34,7 +34,7 @@ lang2locale() { langpart="${1%%_*}" if [ "$1" != "C" ]; then # Match the language code with 3rd field in languagelist - line=$(grep -v "^#" /root/usr/share/localechooser/languagelist | cut -f3,4,5 -d\; | grep -v ';C$' | grep "^$langpart;") + line=$(grep -v "^#" /root/usr/share/live-initramfs/languagelist | cut -f3,4,5 -d\; | grep -v ';C$' | grep "^$langpart;") if [ -n "$line" ]; then if [ "$(echo "$line" | grep -c '')" -gt 1 ]; then # More than one match; try matching the