aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--NEWS3
-rw-r--r--Rpmdrake/gui.pm3
2 files changed, 4 insertions, 2 deletions
diff --git a/NEWS b/NEWS
index f0ac3caf..262f3258 100644
--- a/NEWS
+++ b/NEWS
@@ -2,6 +2,9 @@
- MandrivaUpdate:
o faster startup if there're priority updates
o only list priority updates if existing
+- rpmdrake:
+ o fix listing twice updates from media tagged as update
+ (regression introduced in 4.4.2)
Version 4.5 - 7 March 2008, Thierry Vignaud
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}} },