diff --git a/utils/morty.sh b/utils/morty.sh index 21d031f0c..3d2d8c462 100755 --- a/utils/morty.sh +++ b/utils/morty.sh @@ -28,7 +28,8 @@ SERVICE_GROUP="${SERVICE_USER}" SERVICE_ENV_DEBUG=false GO_ENV="${SERVICE_HOME}/.go_env" -GO_PKG_URL="https://golang.org/dl/go1.17.2.linux-amd64.tar.gz" +GO_VERSION="go1.17.2" +GO_PKG_URL="https://golang.org/dl/${GO_VERSION}.linux-amd64.tar.gz" GO_TAR=$(basename "$GO_PKG_URL") # shellcheck disable=SC2034 @@ -47,7 +48,7 @@ usage() { cat <