aboutsummaryrefslogtreecommitdiffstats
path: root/Rpmdrake/gui.pm
diff options
context:
space:
mode:
authorThierry Vignaud <thierry.vignaud@gmail.com>2014-06-27 09:17:53 +0200
committerThierry Vignaud <thierry.vignaud@gmail.com>2014-06-27 19:08:19 +0200
commit41cbd29d520393bc1940217472c403ea4310732e (patch)
tree907832ce08b8d99c1b0e2d17dce3932ff916f370 /Rpmdrake/gui.pm
parent5788627a0a6bdb2961534c9c2a99014e6f60a99f (diff)
downloadrpmdrake-41cbd29d520393bc1940217472c403ea4310732e.tar
rpmdrake-41cbd29d520393bc1940217472c403ea4310732e.tar.gz
rpmdrake-41cbd29d520393bc1940217472c403ea4310732e.tar.bz2
rpmdrake-41cbd29d520393bc1940217472c403ea4310732e.tar.xz
rpmdrake-41cbd29d520393bc1940217472c403ea4310732e.zip
Revert "package list contains only latest updates, not all, so"
This reverts commit 5b24d6f61e17bffc2c9283a65100a29d6a05e586. Conflicts: NEWS rationale: too much changes & replacing compare*() by lt is bogus for comparing rpm versions
Diffstat (limited to 'Rpmdrake/gui.pm')
-rw-r--r--Rpmdrake/gui.pm5
1 files changed, 1 insertions, 4 deletions
diff --git a/Rpmdrake/gui.pm b/Rpmdrake/gui.pm
index 2ecdc21b..29724779 100644
--- a/Rpmdrake/gui.pm
+++ b/Rpmdrake/gui.pm
@@ -647,12 +647,9 @@ sub pkgs_provider {
installed => $h->{installed},
all => [ keys %$pkgs ],
);
- #anaselli NOTE $all_pkgs contains only latest updates, not all of them.
- # Moreover only if backports are enabled those are offered,
- # so non needs to remove inactive_backports from all packages
my %tmp_filter_methods = (
all => sub {
- [ keys %$pkgs ];
+ [ difference2([ keys %$pkgs ], $h->{inactive_backports}) ];
},
all_updates => sub {
# potential "updates" from media not tagged as updates: