mirror of
https://github.com/speatzle/nfsense.git
synced 2025-05-09 01:58:21 +00:00
Update go Version
This commit is contained in:
parent
698010959f
commit
e12a1fe16f
1 changed files with 2 additions and 2 deletions
|
@ -27,8 +27,8 @@ curl -fsSL https://get.pnpm.io/install.sh | sh -
|
||||||
source /root/.bashrc
|
source /root/.bashrc
|
||||||
|
|
||||||
echo "Installing go"
|
echo "Installing go"
|
||||||
wget "https://go.dev/dl/go1.20.3.linux-amd64.tar.gz"
|
wget "https://go.dev/dl/go1.21.2.linux-amd64.tar.gz"
|
||||||
rm -rf /usr/local/go && tar -C /usr/local -xzf go1.20.3.linux-amd64.tar.gz
|
$ rm -rf /usr/local/go && tar -C /usr/local -xzf go1.21.2.linux-amd64.tar.gz
|
||||||
cat <<EOT >> /etc/profile
|
cat <<EOT >> /etc/profile
|
||||||
export PATH=$PATH:/usr/local/go/bin
|
export PATH=$PATH:/usr/local/go/bin
|
||||||
EOT
|
EOT
|
||||||
|
|
Loading…
Add table
Reference in a new issue