aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--Rpmdrake/pkg.pm4
1 files changed, 1 insertions, 3 deletions
diff --git a/Rpmdrake/pkg.pm b/Rpmdrake/pkg.pm
index 6768e292..750370c8 100644
--- a/Rpmdrake/pkg.pm
+++ b/Rpmdrake/pkg.pm
@@ -475,14 +475,12 @@ sub get_pkgs {
# so there's no need to list the same package several time:
@installable_pkgs = uniq(difference2(\@installable_pkgs, \@updates));
- my @meta_pkgs = (grep { /^task-/ } keys %all_pkgs);
-
+{ urpm => $urpm,
all_pkgs => \%all_pkgs,
installed => \@installed_pkgs,
installable => \@installable_pkgs,
updates => \@updates,
- meta_pkgs => \@meta_pkgs,
+ meta_pkgs => [ grep { /^task-/ } keys %all_pkgs ],
update_descr => $update_descr,
backports => \@backports,
};