summaryrefslogtreecommitdiffstats
path: root/urpm
diff options
context:
space:
mode:
authorPascal Rigaux <pixel@mandriva.com>2008-09-05 09:54:53 +0000
committerPascal Rigaux <pixel@mandriva.com>2008-09-05 09:54:53 +0000
commitcfcb9a08dbb72e2fdf020f7d90d586d19c00aead (patch)
treecaddd4c372af902a8bedb28a00795cc720c975dd /urpm
parentace1dd46f635ae7de6508fb88d19e2b4e0718476 (diff)
downloadurpmi-cfcb9a08dbb72e2fdf020f7d90d586d19c00aead.tar
urpmi-cfcb9a08dbb72e2fdf020f7d90d586d19c00aead.tar.gz
urpmi-cfcb9a08dbb72e2fdf020f7d90d586d19c00aead.tar.bz2
urpmi-cfcb9a08dbb72e2fdf020f7d90d586d19c00aead.tar.xz
urpmi-cfcb9a08dbb72e2fdf020f7d90d586d19c00aead.zip
fix previous commit: do not display wrong log message
Diffstat (limited to 'urpm')
-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");