From ef801cbfbe314b2f28e8654aa39c7cda36246a96 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E4=B8=96=E7=95=8C?= Date: Thu, 1 Sep 2022 20:27:48 +0800 Subject: [PATCH] Fix server install script --- release/local/install_go.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/release/local/install_go.sh b/release/local/install_go.sh index 8138597d..4812acab 100755 --- a/release/local/install_go.sh +++ b/release/local/install_go.sh @@ -1,7 +1,7 @@ #!/usr/bin/env bash set -e -o pipefail -curl -o go.tar.gz https://go.dev/dl/go1.19.linux-amd64.tar.gz +curl -Lo go.tar.gz https://go.dev/dl/go1.19.linux-amd64.tar.gz sudo rm -rf /usr/local/go sudo tar -C /usr/local -xzf go.tar.gz rm go.tar.gz \ No newline at end of file