1
0
mirror of https://github.com/community-scripts/ProxmoxVE.git synced 2025-04-19 22:08:07 +00:00

Fix Rustup Curl

This commit is contained in:
CanbiZ 2025-04-01 11:38:52 +02:00
parent 24a5442e44
commit a022619b93
2 changed files with 10 additions and 10 deletions

View File

@ -37,11 +37,11 @@ $STD npm install -g yarn
msg_ok "Installed Node.js/Yarn" msg_ok "Installed Node.js/Yarn"
msg_info "Installing Rust" msg_info "Installing Rust"
curl -fsSL https://sh.rustup.rs -O curl -fsSL https://sh.rustup.rs -o rustup-init.sh
$STD bash index.html -y --profile minimal $STD bash rustup-init.sh -y --profile minimal
echo 'export PATH=~/.cargo/bin:$PATH' >>~/.bashrc echo 'export PATH="$HOME/.cargo/bin:$PATH"' >> ~/.bashrc
export PATH=~/.cargo/bin:$PATH export PATH="$HOME/.cargo/bin:$PATH"
rm index.html rm rustup-init.sh
$STD cargo install monolith $STD cargo install monolith
msg_ok "Installed Rust" msg_ok "Installed Rust"

View File

@ -34,11 +34,11 @@ VAULT=$(curl -fsSL https://api.github.com/repos/dani-garcia/vaultwarden/releases
awk '{print substr($2, 2, length($2)-3) }') awk '{print substr($2, 2, length($2)-3) }')
msg_info "Installing Rust" msg_info "Installing Rust"
curl -fsSL https://sh.rustup.rs -O curl -fsSL https://sh.rustup.rs -o rustup-init.sh
$STD bash index.html -y --profile minimal $STD bash rustup-init.sh -y --profile minimal
echo 'export PATH=~/.cargo/bin:$PATH' >>~/.bashrc echo 'export PATH="$HOME/.cargo/bin:$PATH"' >> ~/.bashrc
export PATH=~/.cargo/bin:$PATH export PATH="$HOME/.cargo/bin:$PATH"
rm index.html rm rustup-init.sh
msg_ok "Installed Rust" msg_ok "Installed Rust"
msg_info "Building Vaultwarden ${VAULT} (Patience)" msg_info "Building Vaultwarden ${VAULT} (Patience)"