From 47296da8bee39d7cca4f57e572e2fdafe4eb36a5 Mon Sep 17 00:00:00 2001 From: Chris Lamb Date: Thu, 17 Apr 2008 03:57:19 +0100 Subject: Remove bogus dependency on Ubuntu "localechooser-data" package In Debian, this package doesn't exist as a .deb, so we must maintain our own local copy of the languagelist file. (This patch also adds code to synchronise this file to the Makefile's "update:" target so this isn't too annoying.) --- scripts/live-functions | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'scripts/live-functions') 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 -- cgit v1.2.3