diff options
author | Pascal Rigaux <pixel@mandriva.com> | 2004-05-12 11:02:42 +0000 |
---|---|---|
committer | Pascal Rigaux <pixel@mandriva.com> | 2004-05-12 11:02:42 +0000 |
commit | 48fb1a15342abff057320bccc679aad46b1d6503 (patch) | |
tree | c8580d1cb5526d3ef5ef10561da0cc7b3c10c713 /perl-install | |
parent | 91df9b8e124bf3c35e69b0e01fa96727fc4372c8 (diff) | |
download | drakx-48fb1a15342abff057320bccc679aad46b1d6503.tar drakx-48fb1a15342abff057320bccc679aad46b1d6503.tar.gz drakx-48fb1a15342abff057320bccc679aad46b1d6503.tar.bz2 drakx-48fb1a15342abff057320bccc679aad46b1d6503.tar.xz drakx-48fb1a15342abff057320bccc679aad46b1d6503.zip |
fix typo
Diffstat (limited to 'perl-install')
-rw-r--r-- | perl-install/install_steps_interactive.pm | 2 | ||||
-rw-r--r-- | perl-install/keyboard.pm | 2 |
2 files changed, 2 insertions, 2 deletions
diff --git a/perl-install/install_steps_interactive.pm b/perl-install/install_steps_interactive.pm index a0c9c9083..62e40599c 100644 --- a/perl-install/install_steps_interactive.pm +++ b/perl-install/install_steps_interactive.pm @@ -897,7 +897,7 @@ sub summary { clicked => sub { any::selectCountry($o, $o->{locale}) or return; - my $pkg_locale = locale_to_main_locale(lang::getlocale_for_country($o->{locale}{lang}, $o->{locale}{country})); + my $pkg_locale = lang::locale_to_main_locale(lang::getlocale_for_country($o->{locale}{lang}, $o->{locale}{country})); my @pkgs = pkgs::packagesProviding($o->{packages}, "locales-$pkg_locale"); $o->pkg_install(map { $_->name } @pkgs) if @pkgs; 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 ] ]; } @_; |