summaryrefslogtreecommitdiffstats
path: root/perl-install/keyboard.pm
diff options
context:
space:
mode:
Diffstat (limited to 'perl-install/keyboard.pm')
-rw-r--r--perl-install/keyboard.pm2
1 files changed, 1 insertions, 1 deletions
diff --git a/perl-install/keyboard.pm b/perl-install/keyboard.pm
index a851ab9c8..9fda913fb 100644
--- a/perl-install/keyboard.pm
+++ b/perl-install/keyboard.pm
@@ -367,7 +367,7 @@ 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});
my $k = find { $_ } map { $lang2keyboard{$_} } @l;
unpack_keyboards($k) || [ [ ($keyboards{$_} ? $_ : "us") => 100 ] ];
} @_;