Non-interactive sh.rustup.rs, DNF & * fixes (#669)

This commit is contained in:
Adam Perkowski 2024-09-28 20:52:51 +02:00 committed by GitHub
parent 04d97e4076
commit 2e533cddf9
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -37,13 +37,17 @@ installLinutil() {
pacman)
"$ESCALATION_TOOL" "$PACKAGER" -S --needed --noconfirm rustup
;;
dnf)
"$ESCALATION_TOOL" "$PACKAGER" install -y rustup
;;
zypper)
"$ESCALATION_TOOL" "$PACKAGER" install -n curl gcc make
curl --proto '=https' --tlsv1.2 -sSf https://sh.rustup.rs | sh
curl --proto '=https' --tlsv1.2 -sSf https://sh.rustup.rs | sh -s -- -y
. $HOME/.cargo/env
;;
*)
"$ESCALATION_TOOL" "$PACKAGER" install -y rustup
curl --proto '=https' --tlsv1.2 -sSf https://sh.rustup.rs | sh -s -- -y
. $HOME/.cargo/env
;;
esac
fi
@ -59,4 +63,4 @@ installLinutil() {
checkEnv
checkEscalationTool
checkAURHelper
installLinutil
installLinutil