scripts/functions: fix using Aria2
author"Yann E. MORIN" <yann.morin.1998@anciens.enib.fr>
Fri Jan 01 12:27:06 2010 +0100 (2010-01-01)
changeset 1672636126117b8c
parent 1671 08a5129e6eb0
child 1673 ecb7fcc4edb0
child 1676 6f836ab1b317
scripts/functions: fix using Aria2

Latest aria2 no longer recognise the --retry-wait option.
scripts/functions
     1.1 --- a/scripts/functions	Fri Jan 01 12:17:39 2010 +0100
     1.2 +++ b/scripts/functions	Fri Jan 01 12:27:06 2010 +0100
     1.3 @@ -354,8 +354,8 @@
     1.4      # Note: comments about curl method (above) are also valid here
     1.5      # Plus: default progress indicator is a single line, so use verbose log
     1.6      #       so that the CT-NG's ouput is 'live'.
     1.7 -    CT_DoExecLog ALL aria2c -l - -s ${CT_DOWNLOAD_MAX_CHUNKS} -m 3 --retry-wait 5 -t ${CT_CONNECT_TIMEOUT} -p "$1" \
     1.8 -    || CT_DoExecLog ALL aria2c -l - -s ${CT_DOWNLOAD_MAX_CHUNKS} -m 3 --retry-wait 5 -t ${CT_CONNECT_TIMEOUT} "$1" \
     1.9 +    CT_DoExecLog ALL aria2c -l - -s ${CT_DOWNLOAD_MAX_CHUNKS} -m 3 -t ${CT_CONNECT_TIMEOUT} -p "$1" \
    1.10 +    || CT_DoExecLog ALL aria2c -l - -s ${CT_DOWNLOAD_MAX_CHUNKS} -m 3 -t ${CT_CONNECT_TIMEOUT} "$1" \
    1.11      || true
    1.12  }
    1.13