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_ok "Installed Node.js/Yarn"
msg_info "Installing Rust" msg_info "Installing Rust"
$STD curl https://sh.rustup.rs -sSf | sh -s -- -y wget -qL https://sh.rustup.rs
echo 'export PATH=/usr/local/cargo/bin:$PATH' >> /etc/profile $STD bash index.html -y --profile minimal
chmod +x $HOME/.cargo/env echo 'export PATH=~/.cargo/bin:$PATH' >>~/.bashrc
$HOME/.cargo/env export PATH=~/.cargo/bin:$PATH
rm index.html
$STD cargo install monolith $STD cargo install monolith
msg_ok "Installed Rust" msg_ok "Installed Rust"