diff options
-rw-r--r-- | NEWS | 2 | ||||
-rw-r--r-- | urpm/download.pm | 6 |
2 files changed, 5 insertions, 3 deletions
@@ -1,3 +1,5 @@ +- all tools + o fix broken ssh:// (regression introduced in 6.0) - urpmi, urpme, urpmq: o fix orphans handling: suggested packages must not be detected as orphans - urpmi: diff --git a/urpm/download.pm b/urpm/download.pm index bf70fac6..cee61fa3 100644 --- a/urpm/download.pm +++ b/urpm/download.pm @@ -502,9 +502,9 @@ sub sync_rsync { ($limit_rate ? "--bwlimit=$limit_rate" : @{[]}), ($options->{quiet} ? qw(-q) : qw(--progress -v)), ($options->{compress} ? qw(-z) : @{[]}), - ($options->{ssh} ? qq(-e $options->{ssh}) : @{[]}), - "--timeout=$CONNECT_TIMEOUT", - "--contimeout=$CONNECT_TIMEOUT", + ($options->{ssh} ? qq(-e $options->{ssh}) : + ("--timeout=$CONNECT_TIMEOUT", + "--contimeout=$CONNECT_TIMEOUT")), qw(--partial --no-whole-file --no-motd --copy-links), (defined $options->{'rsync-options'} ? split /\s+/, $options->{'rsync-options'} : ()), "'$file' '$options->{dir}' 2>&1"); |