fix(setup): Use right flags for curl when wget doesn't exist.

This commit is contained in:
Cem Aksoylar 2021-12-22 22:24:47 -08:00 committed by Dom H
parent ef0d088cb8
commit 93e76835e4

View file

@ -54,7 +54,7 @@ if [[ $curl_exists == "true" && $wget_exists == "true" ]]; then
download_command="curl -fsOL "
fi
elif [[ $curl_exists == "true" ]]; then
download_command="curl -O "
download_command="curl -fsOL "
elif [[ $wget_exists == "true" ]]; then
download_command="wget "
else