summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--urpm/parallel_ssh.pm2
1 files changed, 1 insertions, 1 deletions
diff --git a/urpm/parallel_ssh.pm b/urpm/parallel_ssh.pm
index f7512e51..f0f882a3 100644
--- a/urpm/parallel_ssh.pm
+++ b/urpm/parallel_ssh.pm
@@ -185,8 +185,8 @@ sub parallel_resolve_dependencies {
sub parallel_install {
my ($parallel, $urpm, undef, $install, $upgrade, %options) = @_;
+ my @sources = (values %$install, values %$upgrade);
foreach my $host (keys %{$parallel->{nodes}}) {
- my @sources = (values %$install, values %$upgrade);
$urpm->{log}("parallel_ssh: scp @sources $host:$urpm->{cachedir}/rpms");
if (_localhost($host)) {
my @f = grep { ! m!^$urpm->{cachedir}/rpms! } @sources;