diff options
author | Christophe Fergeau <cfergeau@mandriva.com> | 2009-10-21 09:51:32 +0000 |
---|---|---|
committer | Christophe Fergeau <cfergeau@mandriva.com> | 2009-10-21 09:51:32 +0000 |
commit | e997e8b4cc32ea3ec4bd0208a1c425af5a60a004 (patch) | |
tree | 3519dd0c29ecc72e058d45f985d1d402033e3f31 /urpm/mirrors.pm | |
parent | 504f48236193a06fa98526074aa2613c77b3c7d1 (diff) | |
download | urpmi-e997e8b4cc32ea3ec4bd0208a1c425af5a60a004.tar urpmi-e997e8b4cc32ea3ec4bd0208a1c425af5a60a004.tar.gz urpmi-e997e8b4cc32ea3ec4bd0208a1c425af5a60a004.tar.bz2 urpmi-e997e8b4cc32ea3ec4bd0208a1c425af5a60a004.tar.xz urpmi-e997e8b4cc32ea3ec4bd0208a1c425af5a60a004.zip |
make sure we don't use aria2 to fetch mirrorlists
aria2 downloader currently doesn't work when we append a reason string
to the api.mandriva.com URL, lamely fix that by making sure it's not
used when grabbing a mirrorlist
Diffstat (limited to 'urpm/mirrors.pm')
-rw-r--r-- | urpm/mirrors.pm | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/urpm/mirrors.pm b/urpm/mirrors.pm index f17240b2..ac0a1d83 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) or $urpm->{error}("mirror list not found"); + my @l = urpm::download::get_content($urpm, $url, "allow_metalink" => 0) or $urpm->{error}("mirror list not found"); @l; } |