aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorThierry Vignaud <tv@mandriva.org>2008-02-26 17:11:33 +0000
committerThierry Vignaud <tv@mandriva.org>2008-02-26 17:11:33 +0000
commit40beb332bba5359ce8397433391587cf0a7a3d83 (patch)
tree0acb2fccb5a41282e09167372925de545842f540
parentbc7cb53198c895bf12904d03157637755fa4c96f (diff)
downloadrpmdrake-40beb332bba5359ce8397433391587cf0a7a3d83.tar
rpmdrake-40beb332bba5359ce8397433391587cf0a7a3d83.tar.gz
rpmdrake-40beb332bba5359ce8397433391587cf0a7a3d83.tar.bz2
rpmdrake-40beb332bba5359ce8397433391587cf0a7a3d83.tar.xz
rpmdrake-40beb332bba5359ce8397433391587cf0a7a3d83.zip
(pkgs_provider) explain
-rw-r--r--Rpmdrake/gui.pm1
1 files changed, 1 insertions, 0 deletions
diff --git a/Rpmdrake/gui.pm b/Rpmdrake/gui.pm
index a8cb7481..3725860c 100644
--- a/Rpmdrake/gui.pm
+++ b/Rpmdrake/gui.pm
@@ -494,6 +494,7 @@ sub pkgs_provider {
installed => sub { @filtered_pkgs = @{$h->{installed}} },
non_installed => sub { @filtered_pkgs = @{$h->{installable}} },
all_updates => sub {
+ # potential "updates" from media not tagged as updates:
my @pkgs = $options{pure_updates} ? () :
(grep { is_updatable($_) } @{$h->{installable}});
@filtered_pkgs = @{$h->{updates}}, @pkgs;