From 539c047ec8744d1baec9cba0f050e2c1eb59e638 Mon Sep 17 00:00:00 2001 From: wh1te909 Date: Sun, 17 Jan 2021 01:53:45 +0000 Subject: [PATCH] update go --- restore.sh | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/restore.sh b/restore.sh index bb9570a5..d7a71ba5 100755 --- a/restore.sh +++ b/restore.sh @@ -94,9 +94,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.5.linux-amd64.tar.gz -P ${go_tmp} +wget https://golang.org/dl/go1.15.6.linux-amd64.tar.gz -P ${go_tmp} -tar -xzf ${go_tmp}/go1.15.5.linux-amd64.tar.gz -C ${go_tmp} +tar -xzf ${go_tmp}/go1.15.6.linux-amd64.tar.gz -C ${go_tmp} sudo mv ${go_tmp}/go /usr/local/rmmgo/ rm -rf ${go_tmp}