From f2526b048e586a5811c75eb1650d564e2077a8e9 Mon Sep 17 00:00:00 2001 From: hexisXz Date: Mon, 30 Sep 2024 04:41:55 +0000 Subject: [PATCH] fixed things --- core/tabs/applications-setup/browsers/waterfox.sh | 8 +++----- 1 file changed, 3 insertions(+), 5 deletions(-) diff --git a/core/tabs/applications-setup/browsers/waterfox.sh b/core/tabs/applications-setup/browsers/waterfox.sh index 4a95c2ba..372d102c 100644 --- a/core/tabs/applications-setup/browsers/waterfox.sh +++ b/core/tabs/applications-setup/browsers/waterfox.sh @@ -3,17 +3,15 @@ . ../../common-script.sh installWaterfox() { - buildWaterfox=$(curl -L -o waterfox.tar.bz2 "https://cdn1.waterfox.net/waterfox/releases/latest/linux" && tar -xvjf waterfox.tar.bz2 -C ./ && rm waterfox.tar.bz2 ; sudo mkdir -p /opt/waterfox && sudo mv waterfox /opt/waterfox && cd /opt/waterfox/waterfox && sudo ln -s /opt/waterfox/waterfox/waterfox /usr/bin/waterfox) - if ! command_exists waterfox; then printf "%b\n" "${YELLOW}Installing waterfox...${RC}" case "$PACKAGER" in pacman) - "$ESCALATION_TOOL" "$PACKAGER" -S --needed --noconfirm curl && printf "$buildWaterfox" + "$AUR_HELPER" -S --needed --noconfirm waterfox-bin ;; *) - printf "%b\n" "${RED}Unsupported package manager: ""$PACKAGER""${RC}" - exit 1 + . ./setup-flatpak.sh + flatpak install -y flathub net.waterfox.waterfox ;; esac else