diff --git a/scripts/install b/scripts/install index 9e99b25..d075269 100755 --- a/scripts/install +++ b/scripts/install @@ -60,8 +60,8 @@ export PATH="$PATH:$install_dir/.cargo/bin:$install_dir/.local/bin:/usr/local/sb sudo -u "$app" bash -c 'curl -sSf -L https://static.rust-lang.org/rustup.sh | sh -s -- -y --default-toolchain=stable --profile=minimal' fi -rustup install stable -rustup default stable +sudo -u "$app" env PATH=$PATH rustup install stable +sudo -u "$app" env PATH=$PATH rustup default stable fi