Skip to content

Commit

Permalink
fixed things
Browse files Browse the repository at this point in the history
  • Loading branch information
hexisXz committed Sep 30, 2024
1 parent 8bfd536 commit c0728e1
Showing 1 changed file with 2 additions and 10 deletions.
12 changes: 2 additions & 10 deletions core/tabs/applications-setup/browsers/waterfox.sh
Original file line number Diff line number Diff line change
Expand Up @@ -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

0 comments on commit c0728e1

Please sign in to comment.