mirror of
https://github.com/kennyp/asdf-golang.git
synced 2024-10-06 04:32:07 +08:00
replace new download url
This commit is contained in:
parent
b17c26a23e
commit
370e7b50b5
@ -52,7 +52,7 @@ install_golang () {
|
||||
local arch=$(get_arch)
|
||||
local tempdir=$(my_mktemp $platform)
|
||||
|
||||
curl "https://storage.googleapis.com/golang/go${version}.${platform}-${arch}.tar.gz" -o "${tempdir}/archive.tar.gz"
|
||||
curl "https://dl.google.com/go/go${version}.${platform}-${arch}.tar.gz" -o "${tempdir}/archive.tar.gz"
|
||||
|
||||
tar -C "$install_path" -xzf "${tempdir}/archive.tar.gz"
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user