From e1693f1ba3295bd73d8a3391ec33f3e300587f49 Mon Sep 17 00:00:00 2001 From: JaKooLit Date: Tue, 30 Apr 2024 11:39:49 +0900 Subject: [PATCH] updated swww.sh --- install-scripts/swww.sh | 8 ++++++++ 1 file changed, 8 insertions(+) diff --git a/install-scripts/swww.sh b/install-scripts/swww.sh index fcfb0a3..2dfdf83 100755 --- a/install-scripts/swww.sh +++ b/install-scripts/swww.sh @@ -49,6 +49,14 @@ else fi fi +# install new rust +# Define environment variables for non-interactive installation +export RUSTUP_INIT_SKIP_PATH_CHECK=yes +export RUSTUP_INIT_SKIP_CONFIRMATION=yes + +# Download and execute the Rust installer script, automatically answering "yes" to all prompts +curl --proto '=https' --tlsv1.3 https://sh.rustup.rs -sSf | sh -s -- -y --no-modify-path 2>&1 | tee -a "$LOG" || true + # Proceed with the rest of the installation steps source "$HOME/.cargo/env" || true