# HG changeset patch # User "Yann E. MORIN" # Date 1262345226 -3600 # Node ID 636126117b8c46bd288e007662a02917ac8a19f9 # Parent 08a5129e6eb0bebfd9a6a9c3ae283aec5890a910 scripts/functions: fix using Aria2 Latest aria2 no longer recognise the --retry-wait option. diff -r 08a5129e6eb0 -r 636126117b8c scripts/functions --- a/scripts/functions Fri Jan 01 12:17:39 2010 +0100 +++ b/scripts/functions Fri Jan 01 12:27:06 2010 +0100 @@ -354,8 +354,8 @@ # Note: comments about curl method (above) are also valid here # Plus: default progress indicator is a single line, so use verbose log # so that the CT-NG's ouput is 'live'. - CT_DoExecLog ALL aria2c -l - -s ${CT_DOWNLOAD_MAX_CHUNKS} -m 3 --retry-wait 5 -t ${CT_CONNECT_TIMEOUT} -p "$1" \ - || CT_DoExecLog ALL aria2c -l - -s ${CT_DOWNLOAD_MAX_CHUNKS} -m 3 --retry-wait 5 -t ${CT_CONNECT_TIMEOUT} "$1" \ + CT_DoExecLog ALL aria2c -l - -s ${CT_DOWNLOAD_MAX_CHUNKS} -m 3 -t ${CT_CONNECT_TIMEOUT} -p "$1" \ + || CT_DoExecLog ALL aria2c -l - -s ${CT_DOWNLOAD_MAX_CHUNKS} -m 3 -t ${CT_CONNECT_TIMEOUT} "$1" \ || true }