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) --- NEWS | 4 ++++ urpm/download.pm | 2 +- 2 files changed, 5 insertions(+), 1 deletion(-) diff --git a/NEWS b/NEWS index c68e08e0..b69ec433 100644 --- a/NEWS +++ b/NEWS @@ -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); -- cgit v1.2.1