summaryrefslogtreecommitdiffstats
path: root/perl-install/install/steps_gtk.pm
diff options
context:
space:
mode:
authorThierry Vignaud <tv@mandriva.org>2009-03-23 16:05:09 +0000
committerThierry Vignaud <tv@mandriva.org>2009-03-23 16:05:09 +0000
commit6e5d03c5548198114881ee4ec1d54db643d788be (patch)
treedac2aefe0612a5aaf95eced52aeb08d3b34e0d8d /perl-install/install/steps_gtk.pm
parent44ec565d47a42adcf68df96a63385fa2f549507a (diff)
downloaddrakx-6e5d03c5548198114881ee4ec1d54db643d788be.tar
drakx-6e5d03c5548198114881ee4ec1d54db643d788be.tar.gz
drakx-6e5d03c5548198114881ee4ec1d54db643d788be.tar.bz2
drakx-6e5d03c5548198114881ee4ec1d54db643d788be.tar.xz
drakx-6e5d03c5548198114881ee4ec1d54db643d788be.zip
(choosePackagesTree::node_state) fix checking whether medium is
selected or not, thus fixing empty packages tree at "Individual package selection" step (#48672)
Diffstat (limited to 'perl-install/install/steps_gtk.pm')
-rw-r--r--perl-install/install/steps_gtk.pm2
1 files changed, 1 insertions, 1 deletions
diff --git a/perl-install/install/steps_gtk.pm b/perl-install/install/steps_gtk.pm
index 7e49efdc8..598c07458 100644
--- a/perl-install/install/steps_gtk.pm
+++ b/perl-install/install/steps_gtk.pm
@@ -361,7 +361,7 @@ sub choosePackagesTree {
},
node_state => sub {
my $p = install::pkgs::packageByName($packages, $_[0]) or return;
- install::pkgs::packageMedium($packages, $p)->{selected} or return;
+ !install::pkgs::packageMedium($packages, $p)->{ignore} or return;
$p->arch eq 'src' and return;
$p->flag_base and return 'base';
$p->flag_installed && !$p->flag_upgrade and return 'installed';