andrewkroh / gvm

Go Version Manager (written in Go for cross-platform usability)
Apache License 2.0
195 stars 24 forks source link

Fall back to source install only when binary URL is 404 #32

Closed andrewkroh closed 3 years ago

andrewkroh commented 3 years ago

When the install from a binary package fails it falls back to installing from source. Tthe only case where the fallback should occur is when the server responds with a 404 that no binary package exists. Otherwise it's falling back on various IO or permissions errors.

Fixes #30