Update ore.sh

This commit is contained in:
smeb y 2024-04-04 11:44:22 +08:00 committed by GitHub
parent 4bc2fa1731
commit 201c0dd79a
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

5
ore.sh
View File

@ -122,8 +122,6 @@ function check_and_install_dependencies() {
echo "Rust 和 Cargo 未安装,正在安装..." echo "Rust 和 Cargo 未安装,正在安装..."
curl https://sh.rustup.rs -sSf | sh -s -- -y curl https://sh.rustup.rs -sSf | sh -s -- -y
source $HOME/.cargo/env source $HOME/.cargo/env
export PATH="$HOME/.local/share/solana/install/active_release/bin:$PATH"
export PATH="$HOME/.cargo/bin:$PATH"
else else
echo "Rust 和 Cargo 已安装。" echo "Rust 和 Cargo 已安装。"
fi fi
@ -143,6 +141,9 @@ function check_and_install_dependencies() {
else else
echo "Ore CLI 已安装。" echo "Ore CLI 已安装。"
fi fi
export PATH="$HOME/.local/share/solana/install/active_release/bin:$PATH"
export PATH="$HOME/.cargo/bin:$PATH"
} }
function start() { function start() {