Updated Go version in serversetup.sh

This commit is contained in:
Asaf Gartner 2022-05-30 18:48:45 +03:00
parent 02d51a8bfe
commit ca614a781b
1 changed files with 2 additions and 2 deletions

View File

@ -70,8 +70,8 @@ fi
# Install Go # Install Go
if [ $checkpoint -lt 40 ]; then if [ $checkpoint -lt 40 ]; then
wget https://golang.org/dl/go1.17.linux-amd64.tar.gz wget https://go.dev/dl/go1.18.2.linux-amd64.tar.gz
tar -C /usr/local -xzf go1.17.linux-amd64.tar.gz tar -C /usr/local -xzf go1.18.2.linux-amd64.tar.gz
export PATH=$PATH:/usr/local/go/bin:/root/go/bin export PATH=$PATH:/usr/local/go/bin:/root/go/bin
echo 'export PATH=$PATH:/usr/local/go/bin:/root/go/bin' >> ~/.bashrc echo 'export PATH=$PATH:/usr/local/go/bin:/root/go/bin' >> ~/.bashrc