diff options
author | Pascal Rigaux <pixel@mandriva.com> | 2007-11-14 11:14:37 +0000 |
---|---|---|
committer | Pascal Rigaux <pixel@mandriva.com> | 2007-11-14 11:14:37 +0000 |
commit | 4649f78ef3be666c889607c8b96f0fbe22ee4f12 (patch) | |
tree | fa54b49862e7f1bea5660e98c6a5629554512c8f | |
parent | e008b078648ebd8151083ab057acae21b163b602 (diff) | |
download | urpmi-4649f78ef3be666c889607c8b96f0fbe22ee4f12.tar urpmi-4649f78ef3be666c889607c8b96f0fbe22ee4f12.tar.gz urpmi-4649f78ef3be666c889607c8b96f0fbe22ee4f12.tar.bz2 urpmi-4649f78ef3be666c889607c8b96f0fbe22ee4f12.tar.xz urpmi-4649f78ef3be666c889607c8b96f0fbe22ee4f12.zip |
- urpmi:
o with rsync, use --copy-links (to have the same behaviour as http/ftp, and
so allow symlinks on the server)
-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); |