Skip to content

Commit

Permalink
Non-interactive sh.rustup.rs, DNF & * fixes
Browse files Browse the repository at this point in the history
  • Loading branch information
adamperkowski committed Sep 24, 2024
1 parent cd90bc0 commit f09b47b
Showing 1 changed file with 7 additions and 3 deletions.
10 changes: 7 additions & 3 deletions core/tabs/applications-setup/linutil-installer.sh
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand All @@ -59,4 +63,4 @@ installLinutil() {
checkEnv
checkEscalationTool
checkAURHelper
installLinutil
installLinutil

0 comments on commit f09b47b

Please sign in to comment.