summaryrefslogtreecommitdiffstats
path: root/perl-install
diff options
context:
space:
mode:
authorPascal Rigaux <pixel@mandriva.com>2007-11-30 14:08:46 +0000
committerPascal Rigaux <pixel@mandriva.com>2007-11-30 14:08:46 +0000
commitaa48fa2f6615bcd28ea900565b425efa1a0679e9 (patch)
tree305f5abb0ab9e2813bc2405f9a3fe3174a6c05e4 /perl-install
parent50154dd3e7f5dc1156a9b0454df1e90932a1aeb8 (diff)
downloaddrakx-aa48fa2f6615bcd28ea900565b425efa1a0679e9.tar
drakx-aa48fa2f6615bcd28ea900565b425efa1a0679e9.tar.gz
drakx-aa48fa2f6615bcd28ea900565b425efa1a0679e9.tar.bz2
drakx-aa48fa2f6615bcd28ea900565b425efa1a0679e9.tar.xz
drakx-aa48fa2f6615bcd28ea900565b425efa1a0679e9.zip
make it more clear
Diffstat (limited to 'perl-install')
-rw-r--r--perl-install/lang.pm4
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;