From 515832b73eb37c59135fec95f0cea5ea8a90241a Mon Sep 17 00:00:00 2001 From: Nathan Ferch Date: Thu, 27 Jul 2023 08:34:14 -0400 Subject: [PATCH] fix: go toolcache (#95) --- linux/ubuntu/scripts/go.sh | 3 +++ 1 file changed, 3 insertions(+) diff --git a/linux/ubuntu/scripts/go.sh b/linux/ubuntu/scripts/go.sh index efd4312..c6943b3 100755 --- a/linux/ubuntu/scripts/go.sh +++ b/linux/ubuntu/scripts/go.sh @@ -34,6 +34,9 @@ for V in $(jq -r '.toolcache[] | select(.name == "go") | .versions[]' "/imagegen # ENVVAR="${V//\./_}" # echo "${ENVVAR}=${GOPATH}" >>/etc/environment + # Create a complete file + touch "${GOPATH}.complete" + printf "\n\tšŸ‹ Installed GO šŸ‹\t\n" "$GOPATH/bin/go" version