summaryrefslogtreecommitdiffstats
path: root/urpm/install.pm
diff options
context:
space:
mode:
authorPascal Rigaux <pixel@mandriva.com>2008-07-08 19:21:41 +0000
committerPascal Rigaux <pixel@mandriva.com>2008-07-08 19:21:41 +0000
commitfc3d747a072ce053ba3e164b76db07d087bbfe95 (patch)
treedbdbc77225dc58503d59596f5f80156e5f3abc20 /urpm/install.pm
parent52ec4ece7ab83f9c6e0e1f5b20ef4b435cc391e8 (diff)
downloadurpmi-fc3d747a072ce053ba3e164b76db07d087bbfe95.tar
urpmi-fc3d747a072ce053ba3e164b76db07d087bbfe95.tar.gz
urpmi-fc3d747a072ce053ba3e164b76db07d087bbfe95.tar.bz2
urpmi-fc3d747a072ce053ba3e164b76db07d087bbfe95.tar.xz
urpmi-fc3d747a072ce053ba3e164b76db07d087bbfe95.zip
propagate blist->{pkgs}
Diffstat (limited to 'urpm/install.pm')
-rw-r--r--urpm/install.pm5
1 files changed, 4 insertions, 1 deletions
diff --git a/urpm/install.pm b/urpm/install.pm
index 0df11dce..6a3e3770 100644
--- a/urpm/install.pm
+++ b/urpm/install.pm
@@ -30,7 +30,10 @@ sub prepare_transaction {
my ($_urpm, $set, $blists, $sources) = @_;
my @blists_subset = map {
- +{ %$_, list => _hash_intersect_list($_->{list}, $set->{upgrade}) };
+ +{ %$_,
+ list => _hash_intersect_list($_->{list}, $set->{upgrade}),
+ pkgs => _hash_intersect_list($_->{pkgs}, $set->{upgrade}),
+ };
} @$blists;
\@blists_subset, _hash_intersect_list($sources, $set->{upgrade});