diff options
author | Francois Pons <fpons@mandriva.com> | 2000-04-20 17:50:23 +0000 |
---|---|---|
committer | Francois Pons <fpons@mandriva.com> | 2000-04-20 17:50:23 +0000 |
commit | 9ca9a63597f34576f9574e136dea4a1de8183f46 (patch) | |
tree | a8fca976ffeeb1db056d78ea698b987955953908 /perl-install/install_steps_gtk.pm | |
parent | 8512e1232b7edf0b686707a68c36b0707b3a8417 (diff) | |
download | drakx-backup-do-not-use-9ca9a63597f34576f9574e136dea4a1de8183f46.tar drakx-backup-do-not-use-9ca9a63597f34576f9574e136dea4a1de8183f46.tar.gz drakx-backup-do-not-use-9ca9a63597f34576f9574e136dea4a1de8183f46.tar.bz2 drakx-backup-do-not-use-9ca9a63597f34576f9574e136dea4a1de8183f46.tar.xz drakx-backup-do-not-use-9ca9a63597f34576f9574e136dea4a1de8183f46.zip |
*** empty log message ***
Diffstat (limited to 'perl-install/install_steps_gtk.pm')
-rw-r--r-- | perl-install/install_steps_gtk.pm | 6 |
1 files changed, 4 insertions, 2 deletions
diff --git a/perl-install/install_steps_gtk.pm b/perl-install/install_steps_gtk.pm index 0a68e27ec..34447fbc9 100644 --- a/perl-install/install_steps_gtk.pm +++ b/perl-install/install_steps_gtk.pm @@ -404,11 +404,13 @@ sub choosePackagesTree { my ($root, $leaf); if ($flat = $_[0]) { - $add_node->($_, undef) foreach sort keys %{$packages->[0]}; + $add_node->($_, undef) foreach sort grep { my $pkg = pkgs::packageByName($packages, $_); + $pkg->{medium}{selected} } keys %{$packages->[0]}; } else { foreach (sort @$compss) { ($root, $leaf) = m|(.*)/(.+)|o or ($root, $leaf) = ('', $_); - $add_node->($leaf, $root); + my $pkg = pkgs::packageByName($packages, $leaf); + $add_node->($leaf, $root) if $pkg->{medium}{selected}; } } $tree->thaw; |