aboutsummaryrefslogtreecommitdiffstats
path: root/Rpmdrake/gui.pm
diff options
context:
space:
mode:
authorThierry Vignaud <tv@mandriva.org>2008-03-10 15:30:48 +0000
committerThierry Vignaud <tv@mandriva.org>2008-03-10 15:30:48 +0000
commitcbdcd5c909f739a90c23a09d8ce05eae250be834 (patch)
tree87b1018144d750dbfd8c065857be337e73f3a532 /Rpmdrake/gui.pm
parentdb5e5291ebcf6123df43054d597dda888e5956bc (diff)
downloadrpmdrake-cbdcd5c909f739a90c23a09d8ce05eae250be834.tar
rpmdrake-cbdcd5c909f739a90c23a09d8ce05eae250be834.tar.gz
rpmdrake-cbdcd5c909f739a90c23a09d8ce05eae250be834.tar.bz2
rpmdrake-cbdcd5c909f739a90c23a09d8ce05eae250be834.tar.xz
rpmdrake-cbdcd5c909f739a90c23a09d8ce05eae250be834.zip
(pkgs_provider) fix listing twice updates from media tagged as update
(regression introduced in 4.4.2, in r238732 on 2008-03-06: "(pkgs_provider) simplify ; make it clearer")
Diffstat (limited to 'Rpmdrake/gui.pm')
-rw-r--r--Rpmdrake/gui.pm3
1 files changed, 1 insertions, 2 deletions
diff --git a/Rpmdrake/gui.pm b/Rpmdrake/gui.pm
index 08860c3d..f445e687 100644
--- a/Rpmdrake/gui.pm
+++ b/Rpmdrake/gui.pm
@@ -497,8 +497,7 @@ sub pkgs_provider {
@filtered_pkgs = @{$h->{updates}};
# potential "updates" from media not tagged as updates:
if (!$options{pure_updates}) {
- push @filtered_pkgs, @{$h->{updates}},
- grep { is_updatable($_) } @{$h->{installable}};
+ push @filtered_pkgs, grep { is_updatable($_) } @{$h->{installable}};
}
},
backports => sub { @filtered_pkgs = @{$h->{backports}} },