Fixing a conditional.

This commit is contained in:
John Beisner 2017-06-12 09:38:02 -07:00
parent 5eae1a3a31
commit b92c63c4d3

View file

@ -645,7 +645,7 @@ install_dotnet() {
download "$download_link" $zip_path || download_failed=true
# if the download fails, download the legacy_download_link
if [ "$download_failed" = true && "$valid_legacy_download_link" = true ]; then
if [ "$download_failed" = true ] && [ "$valid_legacy_download_link" = true ]; then
say "Cannot download: $download_link"
zip_path=$(mktemp $temporary_file_template)
say_verbose "Legacy zip path: $zip_path"