diff options
author | Thierry Vignaud <tv@mandriva.org> | 2009-03-23 16:05:09 +0000 |
---|---|---|
committer | Thierry Vignaud <tv@mandriva.org> | 2009-03-23 16:05:09 +0000 |
commit | 6e5d03c5548198114881ee4ec1d54db643d788be (patch) | |
tree | dac2aefe0612a5aaf95eced52aeb08d3b34e0d8d | |
parent | 44ec565d47a42adcf68df96a63385fa2f549507a (diff) | |
download | drakx-backup-do-not-use-6e5d03c5548198114881ee4ec1d54db643d788be.tar drakx-backup-do-not-use-6e5d03c5548198114881ee4ec1d54db643d788be.tar.gz drakx-backup-do-not-use-6e5d03c5548198114881ee4ec1d54db643d788be.tar.bz2 drakx-backup-do-not-use-6e5d03c5548198114881ee4ec1d54db643d788be.tar.xz drakx-backup-do-not-use-6e5d03c5548198114881ee4ec1d54db643d788be.zip |
(choosePackagesTree::node_state) fix checking whether medium is
selected or not, thus fixing empty packages tree at "Individual
package selection" step (#48672)
-rw-r--r-- | perl-install/install/NEWS | 2 | ||||
-rw-r--r-- | perl-install/install/steps_gtk.pm | 2 |
2 files changed, 3 insertions, 1 deletions
diff --git a/perl-install/install/NEWS b/perl-install/install/NEWS index e8352b96f..0ded3ddf8 100644 --- a/perl-install/install/NEWS +++ b/perl-install/install/NEWS @@ -1,3 +1,5 @@ +- fix empty tree at "Individual package selection" step (#48672) + Version 12.17.2 - 23 March 2009 - fix buid due to to broken Estonian translation 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'; |