diff options
author | Pascal Rigaux <pixel@mandriva.com> | 2008-07-09 19:04:00 +0000 |
---|---|---|
committer | Pascal Rigaux <pixel@mandriva.com> | 2008-07-09 19:04:00 +0000 |
commit | 39de3cffa1b798ba536af02f3c1211f98dc676a7 (patch) | |
tree | df5237ea55a24f685b3a9076cf26475101293d40 /urpm | |
parent | 1fddb0015639949f4ca69ec04464bd2ddcb520ca (diff) | |
download | urpmi-39de3cffa1b798ba536af02f3c1211f98dc676a7.tar urpmi-39de3cffa1b798ba536af02f3c1211f98dc676a7.tar.gz urpmi-39de3cffa1b798ba536af02f3c1211f98dc676a7.tar.bz2 urpmi-39de3cffa1b798ba536af02f3c1211f98dc676a7.tar.xz urpmi-39de3cffa1b798ba536af02f3c1211f98dc676a7.zip |
cleanup (and show common code)
Diffstat (limited to 'urpm')
-rw-r--r-- | urpm/parallel_ka_run.pm | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/urpm/parallel_ka_run.pm b/urpm/parallel_ka_run.pm index ba00e05c..e2930f1d 100644 --- a/urpm/parallel_ka_run.pm +++ b/urpm/parallel_ka_run.pm @@ -39,11 +39,13 @@ sub parallel_register_rpms { #- parallel find_packages_to_remove sub parallel_find_remove { my ($parallel, $urpm, $state, $l, %options) = @_; - my ($node, %bad_nodes, %base_to_remove, %notfound); my ($test, $pkgs) = urpm::parallel::find_remove_pre($urpm, $state, %options); $pkgs and return @$pkgs; + my (%bad_nodes, %base_to_remove, %notfound); + my $node; + #- now try an iteration of urpme. $urpm->{log}("parallel_ka_run: $rshp_command -v $parallel->{options} -- urpme --no-locales --auto $test" . (join ' ', map { "'$_'" } @$l)); open my $fh, "$rshp_command -v $parallel->{options} -- urpme --no-locales --auto $test" . join(' ', map { "'$_'" } @$l) . " 2>&1 |"; |