summaryrefslogtreecommitdiffstats
path: root/urpm/download.pm
diff options
context:
space:
mode:
Diffstat (limited to 'urpm/download.pm')
-rw-r--r--urpm/download.pm2
1 files changed, 1 insertions, 1 deletions
diff --git a/urpm/download.pm b/urpm/download.pm
index 2a46bb74..cec1078e 100644
--- a/urpm/download.pm
+++ b/urpm/download.pm
@@ -859,7 +859,7 @@ sub _sync_webfetch_raw {
$webfetch_not_available = 1;
}
}
- if (!member($preferred, @metalink_downloaders)) {
+ if ($options->{metalink} && !member($preferred, @metalink_downloaders)) {
$urpm->{log}($requested_downloader eq $preferred ?
"not using metalink since requested downloader does not handle it" :
"not using metalink since no downloaders handling metalink are available");