Added go_version variable and set to 1.21.6

This commit is contained in:
zepheris 2024-03-27 22:57:15 +00:00
parent 8963af8107
commit e823d5312b

View File

@ -127,10 +127,12 @@ rmm_agent_type=$8
mesh_fqdn=$2
mesh_id=$3
go_url_amd64="https://go.dev/dl/go1.20.11.linux-amd64.tar.gz"
go_url_x86="https://go.dev/dl/go1.20.11.linux-386.tar.gz"
go_url_arm64="https://go.dev/dl/go1.20.11.linux-arm64.tar.gz"
go_url_armv6="https://go.dev/dl/go1.20.11.linux-armv6l.tar.gz"
go_version="1.21.6"
go_url_amd64="https://go.dev/dl/go$go_version.linux-amd64.tar.gz"
go_url_x86="https://go.dev/dl/go$go_version.linux-386.tar.gz"
go_url_arm64="https://go.dev/dl/go$go_version.linux-arm64.tar.gz"
go_url_armv6="https://go.dev/dl/go$go_version.linux-armv6l.tar.gz"
function go_install() {
if ! command -v go &> /dev/null; then