aboutsummaryrefslogtreecommitdiffstats
path: root/Rpmdrake/gui.pm
diff options
context:
space:
mode:
authorThierry Vignaud <tv@mandriva.org>2008-03-17 13:06:46 +0000
committerThierry Vignaud <tv@mandriva.org>2008-03-17 13:06:46 +0000
commitc992bb2820182f1ecd26c00b2f721bb21f40c7ad (patch)
treeebe9d1826fa41669e5dd1b1beb9d8374762092f8 /Rpmdrake/gui.pm
parent3911d6c4ccf4661100a25b7a3a1495110d8ab330 (diff)
downloadrpmdrake-c992bb2820182f1ecd26c00b2f721bb21f40c7ad.tar
rpmdrake-c992bb2820182f1ecd26c00b2f721bb21f40c7ad.tar.gz
rpmdrake-c992bb2820182f1ecd26c00b2f721bb21f40c7ad.tar.bz2
rpmdrake-c992bb2820182f1ecd26c00b2f721bb21f40c7ad.tar.xz
rpmdrake-c992bb2820182f1ecd26c00b2f721bb21f40c7ad.zip
(pkgs_provider) make 'all_updates' return its result list like other methods (needed for next commit)
Diffstat (limited to 'Rpmdrake/gui.pm')
-rw-r--r--Rpmdrake/gui.pm1
1 files changed, 1 insertions, 0 deletions
diff --git a/Rpmdrake/gui.pm b/Rpmdrake/gui.pm
index e1727245..ff24e6be 100644
--- a/Rpmdrake/gui.pm
+++ b/Rpmdrake/gui.pm
@@ -530,6 +530,7 @@ sub pkgs_provider {
if (!$options{pure_updates} && !$Rpmdrake::pkg::need_restart) {
push @filtered_pkgs, grep { is_updatable($_) } @{$h->{installable}};
}
+ @filtered_pkgs;
},
backports => sub { @filtered_pkgs = @{$h->{backports}} },
meta_pkgs => sub { @filtered_pkgs = @{$h->{meta_pkgs}} },