Skip to content

Commit

Permalink
Merge pull request #39 from vdayanand/download_fix
Browse files Browse the repository at this point in the history
Select libgit2 when tarball download fails
  • Loading branch information
KristofferC authored Nov 26, 2017
2 parents 696afd0 + 1d3edfa commit 1fc2c3f
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/Operations.jl
Original file line number Diff line number Diff line change
Expand Up @@ -236,7 +236,7 @@ function install(
# returns path to version & if it's newly installed
version_path = find_installed(uuid, hash)
ispath(version_path) && return version_path, false
http_download_successful = true
http_download_successful = false
if !USE_LIBGIT2_FOR_ALL_DOWNLOADS && version != nothing
for url in urls
archive_url = get_archive_url_for_version(url, version)
Expand Down

0 comments on commit 1fc2c3f

Please sign in to comment.