diff options
author | Pascal Rigaux <pixel@mandriva.com> | 2007-11-30 14:08:46 +0000 |
---|---|---|
committer | Pascal Rigaux <pixel@mandriva.com> | 2007-11-30 14:08:46 +0000 |
commit | aa48fa2f6615bcd28ea900565b425efa1a0679e9 (patch) | |
tree | 305f5abb0ab9e2813bc2405f9a3fe3174a6c05e4 /perl-install | |
parent | 50154dd3e7f5dc1156a9b0454df1e90932a1aeb8 (diff) | |
download | drakx-backup-do-not-use-aa48fa2f6615bcd28ea900565b425efa1a0679e9.tar drakx-backup-do-not-use-aa48fa2f6615bcd28ea900565b425efa1a0679e9.tar.gz drakx-backup-do-not-use-aa48fa2f6615bcd28ea900565b425efa1a0679e9.tar.bz2 drakx-backup-do-not-use-aa48fa2f6615bcd28ea900565b425efa1a0679e9.tar.xz drakx-backup-do-not-use-aa48fa2f6615bcd28ea900565b425efa1a0679e9.zip |
make it more clear
Diffstat (limited to 'perl-install')
-rw-r--r-- | perl-install/lang.pm | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/perl-install/lang.pm b/perl-install/lang.pm index 407760886..060c19d43 100644 --- a/perl-install/lang.pm +++ b/perl-install/lang.pm @@ -736,8 +736,8 @@ sub IM2packages { $is_kde3 = member('KDE', @sessions); $is_kde4 = member('KDE4', @sessions); my $per_lang = $IM_config{$locale->{IM}}{packages} || {}; - my $lang = analyse_locale_name($locale->{lang})->{main}; - my $packages = $per_lang->{$lang} || $per_lang->{generic}; + my $main_lang = analyse_locale_name($locale->{lang})->{main}; + my $packages = $per_lang->{$main_lang} || $per_lang->{generic}; my @pkgs = ($packages ? $packages->() : $locale->{IM}, $per_lang->{common} ? $per_lang->{common}->() : ()); @pkgs; |