mirror of
https://github.com/bokysan/docker-postfix.git
synced 2025-09-04 05:25:54 +08:00
Fix: Uninstallation of rustup requires "-y" for non-interactive use
This commit is contained in:
parent
9f551fa108
commit
7b4d54f631
1 changed files with 2 additions and 1 deletions
|
@ -48,6 +48,7 @@ build_sasl2() {
|
|||
setup_rust() {
|
||||
curl --proto '=https' --tlsv1.3 https://sh.rustup.rs -sSf | sh -s -- -y --profile minimal
|
||||
export PATH="$HOME/.cargo/bin:$PATH"
|
||||
. "$HOME/.cargo/env"
|
||||
}
|
||||
|
||||
# Create a virtual environment and install the msal library for the
|
||||
|
@ -66,7 +67,7 @@ base_install() {
|
|||
setup_rust
|
||||
build_sasl2
|
||||
setup_python_venv
|
||||
rustup self uninstall
|
||||
rustup self uninstall -y
|
||||
}
|
||||
|
||||
|
||||
|
|
Loading…
Add table
Reference in a new issue