Browse Source

Fix server install script

世界 3 years ago
parent
commit
ef801cbfbe
1 changed files with 1 additions and 1 deletions
  1. 1 1
      release/local/install_go.sh

+ 1 - 1
release/local/install_go.sh

@@ -1,7 +1,7 @@
 #!/usr/bin/env bash
 #!/usr/bin/env bash
 
 
 set -e -o pipefail
 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 rm -rf /usr/local/go
 sudo tar -C /usr/local -xzf go.tar.gz
 sudo tar -C /usr/local -xzf go.tar.gz
 rm go.tar.gz
 rm go.tar.gz