File tree Expand file tree Collapse file tree 2 files changed +10
-10
lines changed
Expand file tree Collapse file tree 2 files changed +10
-10
lines changed Original file line number Diff line number Diff line change @@ -37,11 +37,11 @@ $STD npm install -g yarn
3737msg_ok " Installed Node.js/Yarn"
3838
3939msg_info " Installing Rust"
40- curl -fsSL https://sh.rustup.rs -O
41- $STD bash index.html -y --profile minimal
42- echo ' export PATH=~ /.cargo/bin:$PATH' >> ~/.bashrc
43- export PATH=~ /.cargo/bin:$PATH
44- rm index.html
40+ curl -fsSL https://sh.rustup.rs -o rustup-init.sh
41+ $STD bash rustup-init.sh -y --profile minimal
42+ echo ' export PATH="$HOME /.cargo/bin:$PATH" ' >> ~ /.bashrc
43+ export PATH=" $HOME /.cargo/bin:$PATH "
44+ rm rustup-init.sh
4545$STD cargo install monolith
4646msg_ok " Installed Rust"
4747
Original file line number Diff line number Diff line change @@ -34,11 +34,11 @@ VAULT=$(curl -fsSL https://api.github.com/repos/dani-garcia/vaultwarden/releases
3434 awk ' {print substr($2, 2, length($2)-3) }' )
3535
3636msg_info " Installing Rust"
37- curl -fsSL https://sh.rustup.rs -O
38- $STD bash index.html -y --profile minimal
39- echo ' export PATH=~ /.cargo/bin:$PATH' >> ~/.bashrc
40- export PATH=~ /.cargo/bin:$PATH
41- rm index.html
37+ curl -fsSL https://sh.rustup.rs -o rustup-init.sh
38+ $STD bash rustup-init.sh -y --profile minimal
39+ echo ' export PATH="$HOME /.cargo/bin:$PATH" ' >> ~ /.bashrc
40+ export PATH=" $HOME /.cargo/bin:$PATH "
41+ rm rustup-init.sh
4242msg_ok " Installed Rust"
4343
4444msg_info " Building Vaultwarden ${VAULT} (Patience)"
You can’t perform that action at this time.
0 commit comments