# HG changeset patch # User "Yann E. MORIN" # Date 1262532635 -3600 # Node ID f36307474ee5a4a607d67116a1ccedab8abc674e # Parent 6b1e8a28dc60954371416a074ed906e244816763 scripts/functions: make aria2 less verbose when downloading diff -r 6b1e8a28dc60 -r f36307474ee5 scripts/functions --- a/scripts/functions Sat Jan 02 18:01:46 2010 +0100 +++ b/scripts/functions Sun Jan 03 16:30:35 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 -t ${CT_CONNECT_TIMEOUT} -p "$1" \ - || CT_DoExecLog ALL aria2c -l - -s ${CT_DOWNLOAD_MAX_CHUNKS} -m 3 -t ${CT_CONNECT_TIMEOUT} "$1" \ + CT_DoExecLog ALL aria2c --summary-interval=1 -s ${CT_DOWNLOAD_MAX_CHUNKS} -m 3 -t ${CT_CONNECT_TIMEOUT} -p "$1" \ + || CT_DoExecLog ALL aria2c --summary-interval=1 -s ${CT_DOWNLOAD_MAX_CHUNKS} -m 3 -t ${CT_CONNECT_TIMEOUT} "$1" \ || rm -f "${1##*/}" }