scripts/functions
changeset 2079 d2ceb140371d
parent 2051 57cda75fd174
child 2080 eefacabd9e72
     1.1 --- a/scripts/functions	Fri Jul 30 17:50:34 2010 +0200
     1.2 +++ b/scripts/functions	Wed Aug 11 19:13:10 2010 +0200
     1.3 @@ -399,7 +399,7 @@
     1.4  #   wget
     1.5  # Usage: CT_DoGetFile <URL>
     1.6  CT_DoGetFile() {
     1.7 -    if   [ -n "${_aria2c}" ]; then
     1.8 +    if   [ -n "${_aria2c}" -a ${CT_DOWNLOAD_MAX_CHUNKS} -gt 1 ]; then
     1.9          CT_DoGetFileAria2 "$1"
    1.10      elif [ -n "${_curl}" ]; then
    1.11          CT_DoGetFileCurl "$1"