From 4649f78ef3be666c889607c8b96f0fbe22ee4f12 Mon Sep 17 00:00:00 2001 From: Pascal Rigaux Date: Wed, 14 Nov 2007 11:14:37 +0000 Subject: - urpmi: o with rsync, use --copy-links (to have the same behaviour as http/ftp, and so allow symlinks on the server) --- urpm/download.pm | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'urpm') 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); -- cgit v1.2.1