diff options
author | Pascal Rigaux <pixel@mandriva.com> | 2001-03-14 15:38:10 +0000 |
---|---|---|
committer | Pascal Rigaux <pixel@mandriva.com> | 2001-03-14 15:38:10 +0000 |
commit | 37340085a97b26cdfdc60d36d858855f9c163140 (patch) | |
tree | e29d22cd27d8138b83f8924fc53548623b222f49 /perl-install | |
parent | c60f7328c64ec2286282b5a847fb9cdd2c5317ea (diff) | |
download | drakx-backup-do-not-use-37340085a97b26cdfdc60d36d858855f9c163140.tar drakx-backup-do-not-use-37340085a97b26cdfdc60d36d858855f9c163140.tar.gz drakx-backup-do-not-use-37340085a97b26cdfdc60d36d858855f9c163140.tar.bz2 drakx-backup-do-not-use-37340085a97b26cdfdc60d36d858855f9c163140.tar.xz drakx-backup-do-not-use-37340085a97b26cdfdc60d36d858855f9c163140.zip |
(choosePackagesTree): fix
Diffstat (limited to 'perl-install')
-rw-r--r-- | perl-install/install_steps_gtk.pm | 5 |
1 files changed, 2 insertions, 3 deletions
diff --git a/perl-install/install_steps_gtk.pm b/perl-install/install_steps_gtk.pm index f72bd7a42..24f07388c 100644 --- a/perl-install/install_steps_gtk.pm +++ b/perl-install/install_steps_gtk.pm @@ -323,10 +323,9 @@ sub choosePackagesTree { $add_node->($_, undef) foreach sort grep { my $pkg = pkgs::packageByName($packages, $_); pkgs::packageMedium($pkg)->{selected} } keys %{$packages->{names}}; } else { - foreach (@{$o->{compssUsersSorted}}) { - my $root = $o->{compssUsers}{$_}{path} . '|' . $_; + foreach my $root (@{$o->{compssUsersSorted}}) { my (%fl, @firstchoice, @others); - $fl{$_} = 1 foreach @{$o->{compssUsers}{$_}{flags}}; + $fl{$_} = 1 foreach @{$o->{compssUsers}{$root}{flags}}; foreach my $p (values %{$packages->{names}}) { my ($rate, @flags) = pkgs::packageRateRFlags($p); next if !($rate && !grep { !grep { /^!(.*)/ ? !$fl{$1} : $fl{$_} } split('\|\|') } @flags); |