|
|
@ -1,11 +1,11 @@
|
|
|
|
#!/usr/bin/env bash
|
|
|
|
#!/usr/bin/env bash
|
|
|
|
|
|
|
|
|
|
|
|
set -e
|
|
|
|
set -euo pipefail
|
|
|
|
|
|
|
|
|
|
|
|
# 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.22.3}
|
|
|
|
VERSION=${VERSION:-1.22.4}
|
|
|
|
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
|
|
|
|