From f09b47bf27e7e5bd175c9dd9e25645f3cf8febf0 Mon Sep 17 00:00:00 2001 From: Adam Perkowski Date: Wed, 25 Sep 2024 01:55:21 +0200 Subject: [PATCH] Non-interactive `sh.rustup.rs`, DNF & `*` fixes --- core/tabs/applications-setup/linutil-installer.sh | 10 +++++++--- 1 file changed, 7 insertions(+), 3 deletions(-) diff --git a/core/tabs/applications-setup/linutil-installer.sh b/core/tabs/applications-setup/linutil-installer.sh index 63f9f8363..28e180e0b 100755 --- a/core/tabs/applications-setup/linutil-installer.sh +++ b/core/tabs/applications-setup/linutil-installer.sh @@ -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 \ No newline at end of file +installLinutil