diff options
Diffstat (limited to 'scripts/live-functions')
| -rw-r--r-- | scripts/live-functions | 2 |
1 files changed, 1 insertions, 1 deletions
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 |
