fix curl option

This commit is contained in:
emmett1
2019-12-27 01:37:33 +08:00
parent 5580b416e6
commit 1a5074cc30

View File

@@ -122,7 +122,7 @@ download_src() {
SRCURL=$FILE
fi
case $DOWNLOAD_PROG in
curl) DLCMD="curl -C - --fail --ftp-pasv --retry 3 --retry-delay 3 -o $SOURCE_DIR/$FILENAME.partial $CURL_OPTS" ;;
curl) DLCMD="curl -C - -L --fail --ftp-pasv --retry 3 --retry-delay 3 -o $SOURCE_DIR/$FILENAME.partial $CURL_OPTS" ;;
wget) DLCMD="wget -c --passive-ftp --no-directories --tries=3 --waitretry=3 --output-document=$SOURCE_DIR/$FILENAME.partial $WGET_OPTS" ;;
esac
if [ "$FILENAME" != "$FILE" ]; then