From 26bd7732604a6405fe47ee5c161f8acd5779ed3c Mon Sep 17 00:00:00 2001 From: Rafael Garcia-Suarez Date: Mon, 16 May 2005 23:58:10 +0000 Subject: Remove the -z option passed to curl. It never worked. --- urpm/download.pm | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'urpm') diff --git a/urpm/download.pm b/urpm/download.pm index 855ae096..38ee23ed 100644 --- a/urpm/download.pm +++ b/urpm/download.pm @@ -335,10 +335,10 @@ sub sync_curl { } #- http files (and other files) are correctly managed by curl wrt conditional download. #- options for ftp files, -R (-O )* - #- options for http files, -R (-z file -O )* + #- options for http files, -R (-O )* if (my @all_files = ( (map { ("-O", $_) } @ftp_files), - (map { m|/([^/]*)$| ? ("-z", $1, "-O", $_) : @{[]} } @other_files))) + (map { m|/| ? ("-O", $_) : @{[]} } @other_files))) { my @l = (@ftp_files, @other_files); my ($buf, $file); $buf = ''; -- cgit v1.2.1