summaryrefslogtreecommitdiffstats
path: root/urpm/mirrors.pm
diff options
context:
space:
mode:
authorChristophe Fergeau <cfergeau@mandriva.com>2009-10-29 19:02:14 +0000
committerChristophe Fergeau <cfergeau@mandriva.com>2009-10-29 19:02:14 +0000
commit5307177ab40b7d3d01c57cdeb490525187ed468c (patch)
tree2767462eb051ac2eb927c8ad4fdd8d3b8568e937 /urpm/mirrors.pm
parent5f0dcc382681752953b27dbc6bd4d9bb01ccb003 (diff)
downloadurpmi-5307177ab40b7d3d01c57cdeb490525187ed468c.tar
urpmi-5307177ab40b7d3d01c57cdeb490525187ed468c.tar.gz
urpmi-5307177ab40b7d3d01c57cdeb490525187ed468c.tar.bz2
urpmi-5307177ab40b7d3d01c57cdeb490525187ed468c.tar.xz
urpmi-5307177ab40b7d3d01c57cdeb490525187ed468c.zip
don't use aria2 to fetch mirrorlist, fixes #53434
Diffstat (limited to 'urpm/mirrors.pm')
-rw-r--r--urpm/mirrors.pm2
1 files changed, 1 insertions, 1 deletions
diff --git a/urpm/mirrors.pm b/urpm/mirrors.pm
index ac0a1d83..c9223fa7 100644
--- a/urpm/mirrors.pm
+++ b/urpm/mirrors.pm
@@ -274,7 +274,7 @@ sub _mirrors_raw {
my ($urpm, $url) = @_;
$urpm->{log}(N("getting mirror list from %s", $url));
- my @l = urpm::download::get_content($urpm, $url, "allow_metalink" => 0) or $urpm->{error}("mirror list not found");
+ my @l = urpm::download::get_content($urpm, $url, disable_metalink => 1) or $urpm->{error}("mirror list not found");
@l;
}