diff options
-rw-r--r-- | NEWS | 4 | ||||
-rw-r--r-- | urpm/download.pm | 2 |
2 files changed, 5 insertions, 1 deletions
@@ -1,3 +1,7 @@ +- urpmi: + o with rsync, use --copy-links (to have the same behaviour as http/ftp, and + so allow symlinks on the server) + Version 4.10.14 - 4 October 2007, by Pascal "Pixel" Rigaux - library: diff --git a/urpm/download.pm b/urpm/download.pm index 9b2c464d..085d3cd7 100644 --- a/urpm/download.pm +++ b/urpm/download.pm @@ -471,7 +471,7 @@ sub sync_rsync { ($options->{quiet} ? qw(-q) : qw(--progress -v)), ($options->{compress} ? qw(-z) : @{[]}), ($options->{ssh} ? qq(-e $options->{ssh}) : @{[]}), - qw(--partial --no-whole-file --no-motd), + qw(--partial --no-whole-file --no-motd --copy-links), (defined $options->{'rsync-options'} ? split /\s+/, $options->{'rsync-options'} : ()), "'$file' '$options->{dir}' 2>&1"); $options->{debug} and $options->{debug}($cmd); |