update go [skip ci]

This commit is contained in:
wh1te909 2021-02-16 17:15:02 +00:00
parent d094eeeb03
commit f1d64d275a
2 changed files with 6 additions and 6 deletions

View File

@ -1,6 +1,6 @@
#!/bin/bash
SCRIPT_VERSION="37"
SCRIPT_VERSION="38"
SCRIPT_URL='https://raw.githubusercontent.com/wh1te909/tacticalrmm/master/install.sh'
sudo apt install -y curl wget dirmngr gnupg lsb-release
@ -185,9 +185,9 @@ print_green 'Installing golang'
sudo mkdir -p /usr/local/rmmgo
go_tmp=$(mktemp -d -t rmmgo-XXXXXXXXXX)
wget https://golang.org/dl/go1.15.6.linux-amd64.tar.gz -P ${go_tmp}
wget https://golang.org/dl/go1.15.8.linux-amd64.tar.gz -P ${go_tmp}
tar -xzf ${go_tmp}/go1.15.6.linux-amd64.tar.gz -C ${go_tmp}
tar -xzf ${go_tmp}/go1.15.8.linux-amd64.tar.gz -C ${go_tmp}
sudo mv ${go_tmp}/go /usr/local/rmmgo/
rm -rf ${go_tmp}

View File

@ -7,7 +7,7 @@ pgpw="hunter2"
#####################################################
SCRIPT_VERSION="15"
SCRIPT_VERSION="16"
SCRIPT_URL='https://raw.githubusercontent.com/wh1te909/tacticalrmm/master/restore.sh'
sudo apt install -y curl wget dirmngr gnupg lsb-release
@ -120,9 +120,9 @@ print_green 'Installing golang'
sudo apt update
sudo mkdir -p /usr/local/rmmgo
go_tmp=$(mktemp -d -t rmmgo-XXXXXXXXXX)
wget https://golang.org/dl/go1.15.6.linux-amd64.tar.gz -P ${go_tmp}
wget https://golang.org/dl/go1.15.8.linux-amd64.tar.gz -P ${go_tmp}
tar -xzf ${go_tmp}/go1.15.6.linux-amd64.tar.gz -C ${go_tmp}
tar -xzf ${go_tmp}/go1.15.8.linux-amd64.tar.gz -C ${go_tmp}
sudo mv ${go_tmp}/go /usr/local/rmmgo/
rm -rf ${go_tmp}