diff options
author | Francois Pons <fpons@mandriva.com> | 2002-12-13 10:35:31 +0000 |
---|---|---|
committer | Francois Pons <fpons@mandriva.com> | 2002-12-13 10:35:31 +0000 |
commit | 663f63199bf2c2216952a675f411237a29f7f661 (patch) | |
tree | 9b75f6684524ff6598a633adc1721bda0fc0fa89 /urpm | |
parent | 52dd39ed364b8d82ca418c69c7626d9576138fd5 (diff) | |
download | urpmi-663f63199bf2c2216952a675f411237a29f7f661.tar urpmi-663f63199bf2c2216952a675f411237a29f7f661.tar.gz urpmi-663f63199bf2c2216952a675f411237a29f7f661.tar.bz2 urpmi-663f63199bf2c2216952a675f411237a29f7f661.tar.xz urpmi-663f63199bf2c2216952a675f411237a29f7f661.zip |
4.1-16mdk
Diffstat (limited to 'urpm')
-rw-r--r-- | urpm/parallel_ka_run.pm | 2 | ||||
-rw-r--r-- | urpm/parallel_ssh.pm | 2 |
2 files changed, 2 insertions, 2 deletions
diff --git a/urpm/parallel_ka_run.pm b/urpm/parallel_ka_run.pm index 1ce539d9..7fac99b6 100644 --- a/urpm/parallel_ka_run.pm +++ b/urpm/parallel_ka_run.pm @@ -136,7 +136,7 @@ sub parallel_install { $urpm->{error}(_("Installation is possible")); 1; } else { - my $line = $parallel->{line} . ($options{excludepath} && " --excludepath '$options{excludepath}'"); + my $line = $parallel->{line} . ($options{excludepath} ? " --excludepath '$options{excludepath}'" : ""); #- continue installation. $urpm->{log}("parallel_ka_run: rshp $parallel->{options} -- urpmi --no-locales --no-verify-rpm --auto --synthesis $parallel->{synthesis} $line"); system("rshp $parallel->{options} -- urpmi --no-locales --no-verify-rpm --auto --synthesis $parallel->{synthesis} $line") == 0; diff --git a/urpm/parallel_ssh.pm b/urpm/parallel_ssh.pm index 41edfa39..a135f18a 100644 --- a/urpm/parallel_ssh.pm +++ b/urpm/parallel_ssh.pm @@ -141,7 +141,7 @@ sub parallel_install { $urpm->{error}(_("Installation is possible")); 1; } else { - my $line = $parallel->{line} . ($options{excludepath} && " --excludepath '$options{excludepath}'"); + my $line = $parallel->{line} . ($options{excludepath} ? " --excludepath '$options{excludepath}'" : ""); #- continue installation on each nodes. foreach my $node (keys %{$parallel->{nodes}}) { $urpm->{log}("parallel_ssh: ssh $node urpmi --no-locales --no-verify-rpm --auto --synthesis $parallel->{synthesis} $line"); |