diff options
author | Francois Pons <fpons@mandriva.com> | 2003-06-26 15:26:42 +0000 |
---|---|---|
committer | Francois Pons <fpons@mandriva.com> | 2003-06-26 15:26:42 +0000 |
commit | f20a672e01e0caf0fd203ac14f83b09f5a4ce701 (patch) | |
tree | 588ed80b3d80ed980c9b78e7eb5e631464947de8 /urpm/parallel_ka_run.pm | |
parent | a4e5ea60f1de8d46935aeb17cba691a6d572fdf6 (diff) | |
download | urpmi-f20a672e01e0caf0fd203ac14f83b09f5a4ce701.tar urpmi-f20a672e01e0caf0fd203ac14f83b09f5a4ce701.tar.gz urpmi-f20a672e01e0caf0fd203ac14f83b09f5a4ce701.tar.bz2 urpmi-f20a672e01e0caf0fd203ac14f83b09f5a4ce701.tar.xz urpmi-f20a672e01e0caf0fd203ac14f83b09f5a4ce701.zip |
4.4-8mdk
Diffstat (limited to 'urpm/parallel_ka_run.pm')
-rw-r--r-- | urpm/parallel_ka_run.pm | 8 |
1 files changed, 5 insertions, 3 deletions
diff --git a/urpm/parallel_ka_run.pm b/urpm/parallel_ka_run.pm index 68e5c80b..84dd9840 100644 --- a/urpm/parallel_ka_run.pm +++ b/urpm/parallel_ka_run.pm @@ -139,9 +139,11 @@ sub parallel_resolve_dependencies { while (defined ($_ = <F>)) { chomp; s/<([^>]*)>.*:->:(.*)/$2/ and $node = $1; - if (/^\@removing\@(.*)/) { - $state->{rejected}{$1}{removed} = 1; - $state->{rejected}{$1}{nodes}{$node} = undef; + if (my ($action, $what) = /^\@([^\@]*)\@(.*)/) { + if ($action eq 'removing') { + $state->{rejected}{$what}{removed} = 1; + $state->{rejected}{$what}{nodes}{$node} = undef; + } } elsif (/\|/) { #- distant urpmq returned a choices, check if it has already been chosen #- or continue iteration to make sure no more choices are left. |