aboutsummaryrefslogtreecommitdiffstats
path: root/Rpmdrake/gui.pm
diff options
context:
space:
mode:
authorThierry Vignaud <tv@mandriva.org>2008-05-08 07:24:30 +0000
committerThierry Vignaud <tv@mandriva.org>2008-05-08 07:24:30 +0000
commita373e22f942f4ee687fa787cf69b5f01cd778a1e (patch)
treeb4f93ceb54704f63d8639252a6374fdc8268b532 /Rpmdrake/gui.pm
parentc0379a5a7083d1fb05b805f1e08ca2c32a29dd7e (diff)
downloadrpmdrake-a373e22f942f4ee687fa787cf69b5f01cd778a1e.tar
rpmdrake-a373e22f942f4ee687fa787cf69b5f01cd778a1e.tar.gz
rpmdrake-a373e22f942f4ee687fa787cf69b5f01cd778a1e.tar.bz2
rpmdrake-a373e22f942f4ee687fa787cf69b5f01cd778a1e.tar.xz
rpmdrake-a373e22f942f4ee687fa787cf69b5f01cd778a1e.zip
(pkgs_provider) do not list backports as (unselected) updates in
rpmdrake, not just in MandrivaUpdate (#35009, #40556)
Diffstat (limited to 'Rpmdrake/gui.pm')
-rw-r--r--Rpmdrake/gui.pm3
1 files changed, 2 insertions, 1 deletions
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};
}