diff options
author | Pascal Rigaux <pixel@mandriva.com> | 2008-07-08 17:53:11 +0000 |
---|---|---|
committer | Pascal Rigaux <pixel@mandriva.com> | 2008-07-08 17:53:11 +0000 |
commit | dcacfc8d3c498345dad04ae090ac1cc29bf94dc5 (patch) | |
tree | 543f8fb87fc498a46fb329f311850df7157f3391 /urpm/install.pm | |
parent | 3b4566be852a5319345f960917a6881da44c2bd3 (diff) | |
download | urpmi-dcacfc8d3c498345dad04ae090ac1cc29bf94dc5.tar urpmi-dcacfc8d3c498345dad04ae090ac1cc29bf94dc5.tar.gz urpmi-dcacfc8d3c498345dad04ae090ac1cc29bf94dc5.tar.bz2 urpmi-dcacfc8d3c498345dad04ae090ac1cc29bf94dc5.tar.xz urpmi-dcacfc8d3c498345dad04ae090ac1cc29bf94dc5.zip |
move things around
Diffstat (limited to 'urpm/install.pm')
-rw-r--r-- | urpm/install.pm | 6 |
1 files changed, 4 insertions, 2 deletions
diff --git a/urpm/install.pm b/urpm/install.pm index bd986156..ca28e894 100644 --- a/urpm/install.pm +++ b/urpm/install.pm @@ -21,10 +21,12 @@ eval { sub prepare_transaction { my ($_urpm, $set, $list, $sources, $transaction_list, $transaction_sources) = @_; - foreach my $id (@{$set->{upgrade}}) { - foreach (0..$#$list) { + foreach (0..$#$list) { + foreach my $id (@{$set->{upgrade}}) { exists $list->[$_]{$id} and $transaction_list->[$_]{$id} = $list->[$_]{$id}; } + } + foreach my $id (@{$set->{upgrade}}) { exists $sources->{$id} and $transaction_sources->{$id} = $sources->{$id}; } } |