Update linutil-installer.sh

This commit is contained in:
solomoncyj 2024-10-21 08:16:46 +08:00 committed by GitHub
parent 8fe8679101
commit 263fafb20e
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -44,11 +44,6 @@ installLinutil() {
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 -s -- -y
. $HOME/.cargo/env
;;
*)
curl --proto '=https' --tlsv1.2 -sSf https://sh.rustup.rs | sh -s -- -y
. $HOME/.cargo/env