mirror of
https://github.com/ChrisTitusTech/linutil.git
synced 2024-11-05 13:15:21 +00:00
Non-interactive sh.rustup.rs
, DNF & *
fixes (#669)
This commit is contained in:
parent
04d97e4076
commit
2e533cddf9
|
@ -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
|
||||
|
|
Loading…
Reference in New Issue
Block a user