From e3acbdec97507b0689cdfe71416d4eba7ac8f30b Mon Sep 17 00:00:00 2001 From: AleixMT Date: Thu, 7 Mar 2024 16:18:30 +0100 Subject: [PATCH 1/2] CHANGED: golang installation --- data/features/go/go.dat.sh | 6 +++--- data/features/go/go.sh | 5 +++-- 2 files changed, 6 insertions(+), 5 deletions(-) diff --git a/data/features/go/go.dat.sh b/data/features/go/go.dat.sh index f9516b43..8645e51a 100755 --- a/data/features/go/go.dat.sh +++ b/data/features/go/go.dat.sh @@ -5,8 +5,8 @@ go_description="google programming language" go_version="1.17.linux-amd64" go_systemcategories=("Languages") go_tags=("search" "customDesktop") + go_downloadkeys=("bundle") -go_bundle_URL="https://golang.org/dl/go1.17.linux-amd64.tar.gz" -go_bundle_downloadPath="/usr/local" -go_flagsoverride="0;;;;;" # Install always as root +go_bundle_URL="https://go.dev/dl/go1.22.1.linux-amd64.tar.gz" go_bashinitializations=("go.sh") +pycharm_binariesinstalledpaths=("bin/go;go" "bin/gofmt;gofmt") diff --git a/data/features/go/go.sh b/data/features/go/go.sh index 47d3f432..5b1d20a6 100755 --- a/data/features/go/go.sh +++ b/data/features/go/go.sh @@ -1,4 +1,5 @@ #!/usr/bin/env bash -export GOPATH="€{HOME_FOLDER}/goWorkspace" -export PATH="$PATH:/usr/local/go/bin:$GOPATH/bin" +export GOPATH="€{HOME_FOLDER}/go" +export GOROOT="€{CURRENT_INSTALLATION_FOLDER}" +#export PATH="$PATH:/usr/local/go/bin:$GOPATH/bin" From 543e35bb6c3324e7de907419168a2c2c9763f643 Mon Sep 17 00:00:00 2001 From: AleixMT Date: Thu, 7 Mar 2024 16:21:12 +0100 Subject: [PATCH 2/2] CHANGED: installation of go --- data/features/go/go.dat.sh | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/data/features/go/go.dat.sh b/data/features/go/go.dat.sh index 8645e51a..b40b5b10 100755 --- a/data/features/go/go.dat.sh +++ b/data/features/go/go.dat.sh @@ -6,7 +6,7 @@ go_version="1.17.linux-amd64" go_systemcategories=("Languages") go_tags=("search" "customDesktop") -go_downloadkeys=("bundle") +go_downloadKeys=("bundle") go_bundle_URL="https://go.dev/dl/go1.22.1.linux-amd64.tar.gz" go_bashinitializations=("go.sh") -pycharm_binariesinstalledpaths=("bin/go;go" "bin/gofmt;gofmt") +go_binariesinstalledpaths=("bin/go;go" "bin/gofmt;gofmt")