summaryrefslogtreecommitdiffstats
path: root/urpmi
diff options
context:
space:
mode:
authorPascal Rigaux <pixel@mandriva.com>2006-11-21 14:59:23 +0000
committerPascal Rigaux <pixel@mandriva.com>2006-11-21 14:59:23 +0000
commit3034ae97c467f38171a8e0370a98fa2f4e2cc3e3 (patch)
tree895b135cfa8b5a00314219ffc85579f2f32e9cbf /urpmi
parentd3bf74fd5a3e2ae27c4b1fb407310b0a6d9b242d (diff)
downloadurpmi-3034ae97c467f38171a8e0370a98fa2f4e2cc3e3.tar
urpmi-3034ae97c467f38171a8e0370a98fa2f4e2cc3e3.tar.gz
urpmi-3034ae97c467f38171a8e0370a98fa2f4e2cc3e3.tar.bz2
urpmi-3034ae97c467f38171a8e0370a98fa2f4e2cc3e3.tar.xz
urpmi-3034ae97c467f38171a8e0370a98fa2f4e2cc3e3.zip
drop urpm::parallel_install(), directly use {parallel_handler}->parallel_install
Diffstat (limited to 'urpmi')
-rwxr-xr-xurpmi8
1 files changed, 5 insertions, 3 deletions
diff --git a/urpmi b/urpmi
index 4d56fcda..4baeaee3 100755
--- a/urpmi
+++ b/urpmi
@@ -693,9 +693,11 @@ foreach my $set (@{$state->{transaction} || []}) {
print N("distributing %s", join(' ', values %transaction_sources_install, values %transaction_sources)), "\n";
#- no remove are handle here, automatically done by each distant node.
$urpm->{log}("starting distributed install");
- $urpm->parallel_install([ keys %{$state->{rejected} || {}} ], \%transaction_sources_install, \%transaction_sources,
- test => $test,
- excludepath => $urpm->{options}{excludepath}, excludedocs => $urpm->{options}{excludedocs});
+ $urpm->{parallel_handler}->parallel_install(
+ [ keys %{$state->{rejected} || {}} ], \%transaction_sources_install, \%transaction_sources,
+ test => $test,
+ excludepath => $urpm->{options}{excludepath}, excludedocs => $urpm->{options}{excludedocs},
+ );
} else {
my @packnames = (values %transaction_sources_install, values %transaction_sources);
(my $common_prefix) = $packnames[0] =~ m!^(.*)/!;