summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--NEWS2
-rw-r--r--urpm/download.pm2
2 files changed, 3 insertions, 1 deletions
diff --git a/NEWS b/NEWS
index 19f987c0..616ffac5 100644
--- a/NEWS
+++ b/NEWS
@@ -1,6 +1,8 @@
- urpmi.update:
o handle --nocheck:
it allows "mv /etc/urpmi/urpmi.cfg.{backup,} ; urpmi.update -a --nocheck"
+- aria2
+ o use it even if nearest mirror is rsync
Version 6.14.3 - 13 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});