diff options
-rw-r--r-- | NEWS | 1 | ||||
-rw-r--r-- | urpm/download.pm | 2 |
2 files changed, 2 insertions, 1 deletions
@@ -7,6 +7,7 @@ - aria2: o do not use --max-file-not-found=3 when downloading rpms (since rpms are "versioned") + o use it even if nearest mirror is rsync Version 6.16 - 8 October 2008 diff --git a/urpm/download.pm b/urpm/download.pm index e8c5a950..14c0b753 100644 --- a/urpm/download.pm +++ b/urpm/download.pm @@ -905,7 +905,7 @@ sub _sync_webfetch_raw { my @l = map { urpm::file_from_local_url($_) } @$files; eval { sync_file($options, @l) }; $urpm->{fatal}(10, $@) if $@; - } elsif (member($proto, 'ftp', 'http', 'https')) { + } elsif (member($proto, 'ftp', 'http', 'https') || $options->{metalink}) { my $preferred = preferred_downloader($urpm, $medium, \$options->{metalink}); |