From 4de31e1613b81aa5c46648e14acded466174ad23 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Jos=C3=A9=20Jorge?= Date: Sun, 14 Oct 2012 21:39:46 +0000 Subject: change deprecated aria2 option --- urpm/download.pm | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'urpm') diff --git a/urpm/download.pm b/urpm/download.pm index 491460d9..5dfd3c30 100644 --- a/urpm/download.pm +++ b/urpm/download.pm @@ -706,7 +706,7 @@ sub sync_aria2 { '--metalink-enable-unique-protocol=false', # so that it can try both ftp and http access on the same server. aria2 will only do this on first calls '--max-tries=1', # nb: not using $options->{retry} '--lowest-speed-limit=20K', "--timeout", 3, - '--metalink-servers=3', # maximum number of servers to use for one download + '--split=3', # maximum number of servers to use for one download '--uri-selector=adaptive', "--server-stat-if=$stat_file", "--server-stat-of=$stat_file", $options->{is_versioned} ? @{[]} : '--max-file-not-found=3', # number of not found errors on different servers before aborting file download '--connect-timeout=6', # $CONNECT_TIMEOUT, -- cgit v1.2.1