Skip to content

Commit 5f805ba

Browse files
authored
Linkwarden: Optimze RUST Installation (#2817)
1 parent ba00f1d commit 5f805ba

File tree

1 file changed

+5
-4
lines changed

1 file changed

+5
-4
lines changed

install/linkwarden-install.sh

Lines changed: 5 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -40,10 +40,11 @@ $STD npm install -g yarn
4040
msg_ok "Installed Node.js/Yarn"
4141

4242
msg_info "Installing Rust"
43-
$STD curl https://sh.rustup.rs -sSf | sh -s -- -y
44-
echo 'export PATH=/usr/local/cargo/bin:$PATH' >> /etc/profile
45-
chmod +x $HOME/.cargo/env
46-
$HOME/.cargo/env
43+
wget -qL https://sh.rustup.rs
44+
$STD bash index.html -y --profile minimal
45+
echo 'export PATH=~/.cargo/bin:$PATH' >>~/.bashrc
46+
export PATH=~/.cargo/bin:$PATH
47+
rm index.html
4748
$STD cargo install monolith
4849
msg_ok "Installed Rust"
4950

0 commit comments

Comments
 (0)