Fix: Uninstallation of rustup requires "-y" for non-interactive use

This commit is contained in:
Bojan Čekrlić 2025-03-01 17:57:21 +01:00
parent 9f551fa108
commit 7b4d54f631

View file

@ -48,6 +48,7 @@ build_sasl2() {
setup_rust() { setup_rust() {
curl --proto '=https' --tlsv1.3 https://sh.rustup.rs -sSf | sh -s -- -y --profile minimal curl --proto '=https' --tlsv1.3 https://sh.rustup.rs -sSf | sh -s -- -y --profile minimal
export PATH="$HOME/.cargo/bin:$PATH" export PATH="$HOME/.cargo/bin:$PATH"
. "$HOME/.cargo/env"
} }
# Create a virtual environment and install the msal library for the # Create a virtual environment and install the msal library for the
@ -66,7 +67,7 @@ base_install() {
setup_rust setup_rust
build_sasl2 build_sasl2
setup_python_venv setup_python_venv
rustup self uninstall rustup self uninstall -y
} }