From f838caa1107b7d750f733f7e117fc5b256a71684 Mon Sep 17 00:00:00 2001 From: Sam Heinz <54530346+asylumexp@users.noreply.github.com> Date: Sun, 14 Apr 2024 19:16:58 +1000 Subject: [PATCH] Revert "[Wastebin] Fix Rust install" This reverts commit cd45e67a0af8bc010fec162005662af64a094df8. --- install/wastebin-install.sh | 8 +++----- 1 file changed, 3 insertions(+), 5 deletions(-) diff --git a/install/wastebin-install.sh b/install/wastebin-install.sh index fa843875a..2e777d3a3 100644 --- a/install/wastebin-install.sh +++ b/install/wastebin-install.sh @@ -28,12 +28,10 @@ $STD apt-get install -y --no-install-recommends \ ca-certificates msg_ok "Installed Dependencies" -msg_info "Installing Rust" +msg_info "Installing Rust (Patience)" $STD bash <(curl --proto '=https' --tlsv1.2 -sSf https://sh.rustup.rs) -y -echo 'export PATH=~/.cargo/bin:$PATH' >>~/.bashrc -export PATH=~/.cargo/bin:$PATH -rm index.html -msg_ok "Installed Rust" +source ~/.cargo/env +msg_ok "Installed Rust" msg_info "Installing Wastebin (Patience)" RELEASE=$(curl -s https://api.github.com/repos/matze/wastebin/releases/latest | grep "tag_name" | awk '{print substr($2, 2, length($2)-3) }')