From c0728e1b106f6925664f25edc5c5ef228931ca73 Mon Sep 17 00:00:00 2001 From: hexisXz Date: Mon, 30 Sep 2024 04:31:44 +0000 Subject: [PATCH] fixed things --- core/tabs/applications-setup/browsers/waterfox.sh | 12 ++---------- 1 file changed, 2 insertions(+), 10 deletions(-) diff --git a/core/tabs/applications-setup/browsers/waterfox.sh b/core/tabs/applications-setup/browsers/waterfox.sh index 04b5a4b25..4a95c2ba9 100644 --- a/core/tabs/applications-setup/browsers/waterfox.sh +++ b/core/tabs/applications-setup/browsers/waterfox.sh @@ -8,28 +8,20 @@ installWaterfox() { if ! command_exists waterfox; then printf "%b\n" "${YELLOW}Installing waterfox...${RC}" case "$PACKAGER" in - apt-get|nala) - "$ESCALATION_TOOL" "$PACKAGER" install -y curl && printf "$buildWaterfox" - ;; - zypper) - "$ESCALATION_TOOL" "$PACKAGER" --non-interactive install curl && printf "$buildWaterfox" - ;; pacman) "$ESCALATION_TOOL" "$PACKAGER" -S --needed --noconfirm curl && printf "$buildWaterfox" ;; - dnf) - "$ESCALATION_TOOL" "$PACKAGER" install -y curl && printf "$buildWaterfox" - ;; *) printf "%b\n" "${RED}Unsupported package manager: ""$PACKAGER""${RC}" exit 1 ;; esac else - printf "%b\n" "${GREEN}Waterfox Browser is already installed.${RC}" + printf "%b\n" "${GREEN}Waterfox is already installed.${RC}" fi } checkEnv checkEscalationTool +checkAURHelper installWaterfox