summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorPascal Rigaux <pixel@mandriva.com>2005-06-06 00:14:06 +0000
committerPascal Rigaux <pixel@mandriva.com>2005-06-06 00:14:06 +0000
commit385c5bee04a2b7fd345b22af98f64b9f4c8c851c (patch)
treea59e9beb5767e4ddcf056256147edacaa1432838
parente3021ddc2233f1fda6fe19164d03dc962af7b54f (diff)
downloaddrakx-backup-do-not-use-385c5bee04a2b7fd345b22af98f64b9f4c8c851c.tar
drakx-backup-do-not-use-385c5bee04a2b7fd345b22af98f64b9f4c8c851c.tar.gz
drakx-backup-do-not-use-385c5bee04a2b7fd345b22af98f64b9f4c8c851c.tar.bz2
drakx-backup-do-not-use-385c5bee04a2b7fd345b22af98f64b9f4c8c851c.tar.xz
drakx-backup-do-not-use-385c5bee04a2b7fd345b22af98f64b9f4c8c851c.zip
default to "en" keyboard (as requested by pablo)
-rw-r--r--perl-install/keyboard.pm4
1 files changed, 2 insertions, 2 deletions
diff --git a/perl-install/keyboard.pm b/perl-install/keyboard.pm
index 1d27cc74d..8b1cedcd4 100644
--- a/perl-install/keyboard.pm
+++ b/perl-install/keyboard.pm
@@ -443,9 +443,9 @@ sub lang2keyboards {
my @li = sort { $b->[1] <=> $a->[1] } map { @$_ } map {
my $h = lang::analyse_locale_name($_);
#- example: pt_BR and pt
- my @l = (if_($h->{country}, $h->{main} . '_' . $h->{country}), $h->{main});
+ my @l = (if_($h->{country}, $h->{main} . '_' . $h->{country}), $h->{main}, 'en');
my $k = find { $_ } map { $lang2keyboard{$_} } @l;
- unpack_keyboards($k) || [ [ ($keyboards{$_} ? $_ : "us") => 100 ] ];
+ unpack_keyboards($k) || internal_error();
} @_;
\@li;
}