Update 0g.sh

This commit is contained in:
smeb y 2024-04-12 15:11:47 +08:00 committed by GitHub
parent 4e74aa87b8
commit fbf4ddbb32
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

3
0g.sh
View File

@ -58,7 +58,6 @@ function install_node() {
sudo rm -rf /usr/local/go
curl -L https://go.dev/dl/go1.22.0.linux-amd64.tar.gz | sudo tar -xzf - -C /usr/local
echo 'export PATH=$PATH:/usr/local/go/bin:$HOME/go/bin' >> $HOME/.bash_profile
export PATH=$PATH:/usr/local/go/bin:$HOME/go/bin
source $HOME/.bash_profile
# 安装所有二进制文件
@ -124,7 +123,7 @@ function install_node() {
evmosd status | jq .SyncInfo
echo '====================== 安装完成 ==========================='
echo '====================== 安装完成,退出脚本后执行 source $HOME/.bash_profile 以加载环境变量==========================='
echo '安装完成请重新连接VPS以启用对应快捷键功能'
}