|
|
@ -5,7 +5,7 @@ set -e
|
|
|
|
# shellcheck disable=SC1090
|
|
|
|
# shellcheck disable=SC1090
|
|
|
|
source "${XDG_DATA_HOME}/buddy-up/includes/utils.sh"
|
|
|
|
source "${XDG_DATA_HOME}/buddy-up/includes/utils.sh"
|
|
|
|
|
|
|
|
|
|
|
|
VERSION=${VERSION:-1.16.5}
|
|
|
|
VERSION=${VERSION:-1.17.7}
|
|
|
|
DEST=/usr/local/apps/golang
|
|
|
|
DEST=/usr/local/apps/golang
|
|
|
|
URL=https://dl.google.com/go/go${VERSION}.$(get_os)-$(get_arch).tar.gz
|
|
|
|
URL=https://dl.google.com/go/go${VERSION}.$(get_os)-$(get_arch).tar.gz
|
|
|
|
DEST_BIN=$DEST/current/bin
|
|
|
|
DEST_BIN=$DEST/current/bin
|
|
|
|