summaryrefslogtreecommitdiffstats
path: root/perl-install/install_steps_gtk.pm
diff options
context:
space:
mode:
authorPascal Rigaux <pixel@mandriva.com>2001-03-14 15:38:10 +0000
committerPascal Rigaux <pixel@mandriva.com>2001-03-14 15:38:10 +0000
commit37340085a97b26cdfdc60d36d858855f9c163140 (patch)
treee29d22cd27d8138b83f8924fc53548623b222f49 /perl-install/install_steps_gtk.pm
parentc60f7328c64ec2286282b5a847fb9cdd2c5317ea (diff)
downloaddrakx-37340085a97b26cdfdc60d36d858855f9c163140.tar
drakx-37340085a97b26cdfdc60d36d858855f9c163140.tar.gz
drakx-37340085a97b26cdfdc60d36d858855f9c163140.tar.bz2
drakx-37340085a97b26cdfdc60d36d858855f9c163140.tar.xz
drakx-37340085a97b26cdfdc60d36d858855f9c163140.zip
(choosePackagesTree): fix
Diffstat (limited to 'perl-install/install_steps_gtk.pm')
-rw-r--r--perl-install/install_steps_gtk.pm5
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);