[Wastebin] Fix Rust install

This commit is contained in:
Sam Heinz
2024-04-14 18:41:41 +10:00
parent d53c719847
commit cd45e67a0a
+4 -2
View File
@@ -27,9 +27,11 @@ $STD apt-get install -y --no-install-recommends \
wget wget
msg_ok "Installed Dependencies" msg_ok "Installed Dependencies"
msg_info "Installing Rust (Patience)" msg_info "Installing Rust"
$STD bash <(curl --proto '=https' --tlsv1.2 -sSf https://sh.rustup.rs) -y $STD bash <(curl --proto '=https' --tlsv1.2 -sSf https://sh.rustup.rs) -y
source ~/.cargo/env echo 'export PATH=~/.cargo/bin:$PATH' >>~/.bashrc
export PATH=~/.cargo/bin:$PATH
rm index.html
msg_ok "Installed Rust" msg_ok "Installed Rust"
msg_info "Installing Wastebin (Patience)" msg_info "Installing Wastebin (Patience)"