diff --git a/scripts/functions b/scripts/functions index 16f894ba..b69efd1e 100644 --- a/scripts/functions +++ b/scripts/functions @@ -399,7 +399,7 @@ _curl=$(CT_Which curl) # wget # Usage: CT_DoGetFile CT_DoGetFile() { - if [ -n "${_aria2c}" ]; then + if [ -n "${_aria2c}" -a ${CT_DOWNLOAD_MAX_CHUNKS} -gt 1 ]; then CT_DoGetFileAria2 "$1" elif [ -n "${_curl}" ]; then CT_DoGetFileCurl "$1"