summaryrefslogtreecommitdiffstats
path: root/urpm/parallel_ssh.pm
diff options
context:
space:
mode:
authorPascal Rigaux <pixel@mandriva.com>2008-07-09 20:40:17 +0000
committerPascal Rigaux <pixel@mandriva.com>2008-07-09 20:40:17 +0000
commit00b480d82156b3112054efb6dee33f6a206516b5 (patch)
tree62b08fe837c80e44e19f0bdfb173eb4563caa212 /urpm/parallel_ssh.pm
parentacc7066459c55586deceb4c876b13e8ecf062b1b (diff)
downloadurpmi-00b480d82156b3112054efb6dee33f6a206516b5.tar
urpmi-00b480d82156b3112054efb6dee33f6a206516b5.tar.gz
urpmi-00b480d82156b3112054efb6dee33f6a206516b5.tar.bz2
urpmi-00b480d82156b3112054efb6dee33f6a206516b5.tar.xz
urpmi-00b480d82156b3112054efb6dee33f6a206516b5.zip
hoist
Diffstat (limited to 'urpm/parallel_ssh.pm')
-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;