diff options
author | Rafael Garcia-Suarez <rgarciasuarez@mandriva.org> | 2005-05-16 23:58:10 +0000 |
---|---|---|
committer | Rafael Garcia-Suarez <rgarciasuarez@mandriva.org> | 2005-05-16 23:58:10 +0000 |
commit | 26bd7732604a6405fe47ee5c161f8acd5779ed3c (patch) | |
tree | f7b44390aac602d9c00cd3af980b43ff7690bded /urpm | |
parent | a5b90f7e5d52dd86668969d7082ce49a71d8b580 (diff) | |
download | urpmi-26bd7732604a6405fe47ee5c161f8acd5779ed3c.tar urpmi-26bd7732604a6405fe47ee5c161f8acd5779ed3c.tar.gz urpmi-26bd7732604a6405fe47ee5c161f8acd5779ed3c.tar.bz2 urpmi-26bd7732604a6405fe47ee5c161f8acd5779ed3c.tar.xz urpmi-26bd7732604a6405fe47ee5c161f8acd5779ed3c.zip |
Remove the -z option passed to curl. It never worked.
Diffstat (limited to 'urpm')
-rw-r--r-- | urpm/download.pm | 4 |
1 files changed, 2 insertions, 2 deletions
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 <file>)* - #- options for http files, -R (-z file -O <file>)* + #- options for http files, -R (-O <file>)* 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 = ''; |