1
0
mirror of https://github.com/community-scripts/ProxmoxVE.git synced 2025-03-08 13:19:05 +00:00

Linkwarden: Optimze RUST Installation (#2817)

This commit is contained in:
CanbiZ 2025-03-04 11:45:01 +01:00 committed by GitHub
parent ba00f1d302
commit 5f805ba414
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -40,10 +40,11 @@ $STD npm install -g yarn
msg_ok "Installed Node.js/Yarn"
msg_info "Installing Rust"
$STD curl https://sh.rustup.rs -sSf | sh -s -- -y
echo 'export PATH=/usr/local/cargo/bin:$PATH' >> /etc/profile
chmod +x $HOME/.cargo/env
$HOME/.cargo/env
wget -qL https://sh.rustup.rs
$STD bash index.html -y --profile minimal
echo 'export PATH=~/.cargo/bin:$PATH' >>~/.bashrc
export PATH=~/.cargo/bin:$PATH
rm index.html
$STD cargo install monolith
msg_ok "Installed Rust"