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"