From a373e22f942f4ee687fa787cf69b5f01cd778a1e Mon Sep 17 00:00:00 2001 From: Thierry Vignaud Date: Thu, 8 May 2008 07:24:30 +0000 Subject: (pkgs_provider) do not list backports as (unselected) updates in rpmdrake, not just in MandrivaUpdate (#35009, #40556) --- Rpmdrake/gui.pm | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'Rpmdrake') diff --git a/Rpmdrake/gui.pm b/Rpmdrake/gui.pm index 80c48d20..ebd3f2df 100644 --- a/Rpmdrake/gui.pm +++ b/Rpmdrake/gui.pm @@ -548,7 +548,8 @@ sub pkgs_provider { all_updates => sub { # potential "updates" from media not tagged as updates: if (!$options{pure_updates} && !$Rpmdrake::pkg::need_restart) { - [ @{$h->{updates}}, grep { is_updatable($_) } @{$h->{installable}} ]; + [ @{$h->{updates}}, + difference2([ grep { is_updatable($_) } @{$h->{installable}} ], $h->{backports}) ]; } else { $h->{updates}; } -- cgit v1.2.1