Update ore.sh
This commit is contained in:
parent
461115eeee
commit
1c8c041178
6
ore.sh
6
ore.sh
@ -162,12 +162,12 @@ function check_and_install_dependencies() {
|
||||
fi
|
||||
|
||||
# 检查是否已安装 Ore CLI
|
||||
if ! cargo install ore-cli --version | grep ore-cli &> /dev/null; then
|
||||
if ! ore -V &> /dev/null; then
|
||||
echo "Ore CLI 未安装,正在安装..."
|
||||
cargo install ore-cli
|
||||
else
|
||||
else
|
||||
echo "Ore CLI 已安装。"
|
||||
fi
|
||||
fi
|
||||
|
||||
export PATH="$HOME/.local/share/solana/install/active_release/bin:$PATH"
|
||||
export PATH="$HOME/.cargo/bin:$PATH"
|
||||
|
Loading…
Reference in New Issue
Block a user