This commit is contained in:
Alex Dadgar 2017-11-14 15:06:41 -08:00
parent e8bb3318ff
commit ec5e23065c
1 changed files with 1 additions and 2 deletions

View File

@ -1,7 +1,7 @@
#!/usr/bin/env bash #!/usr/bin/env bash
function install_go() { function install_go() {
local go_version=1.9 local go_version=1.9.2
local download= local download=
download="https://storage.googleapis.com/golang/go${go_version}.linux-amd64.tar.gz" download="https://storage.googleapis.com/golang/go${go_version}.linux-amd64.tar.gz"
@ -21,7 +21,6 @@ install_go
# Ensure that the GOPATH tree is owned by vagrant:vagrant # Ensure that the GOPATH tree is owned by vagrant:vagrant
mkdir -p /opt/gopath mkdir -p /opt/gopath
chown -R vagrant:vagrant /opt/gopath
# Ensure Go is on PATH # Ensure Go is on PATH
if [ ! -e /usr/bin/go ] ; then if [ ! -e /usr/bin/go ] ; then