Browse Source

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

xmkb
Cem Aksoylar 3 years ago committed by Dom H
parent
commit
93e76835e4
  1. 2
      docs/src/templates/setup.sh.mustache

2
docs/src/templates/setup.sh.mustache

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

Loading…
Cancel
Save