From 4a57a8b6895b56974b3232a36f134e02f6eb3028 Mon Sep 17 00:00:00 2001 From: ericgaspar Date: Fri, 16 Jul 2021 19:32:16 +0200 Subject: [PATCH] Update install --- scripts/install | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/scripts/install b/scripts/install index c1549c9..636be34 100644 --- a/scripts/install +++ b/scripts/install @@ -104,7 +104,8 @@ ynh_script_progression --message="Configuring Mumble web client..." --weight=1 # Install rustup with the toolchain needed by vaultwarden pushd "$final_path" - sudo -u "$app" RUSTUP_HOME="$final_path"/.rustup CARGO_HOME="$final_path"/.cargo bash -c 'curl -sSf -L https://static.rust-lang.org/rustup.sh | rustup toolchain install 1.48.0' + sudo -u "$app" RUSTUP_HOME="$final_path"/.rustup CARGO_HOME="$final_path"/.cargo bash -c 'curl -sSf -L https://static.rust-lang.org/rustup.sh | sh -s -- --default-toolchain none' + sudo -u "$app" RUSTUP_HOME="$final_path"/.rustup CARGO_HOME="$final_path"/.cargo rustup toolchain install 1.48.0' popd export PATH="$PATH:$final_path/.cargo/bin:$final_path/.local/bin:/usr/local/sbin"