From cc24ea50444323f2853ab59df955d9f1b497c7b5 Mon Sep 17 00:00:00 2001 From: Guru Swarupa <112751363+guruswarupa@users.noreply.github.com> Date: Fri, 20 Sep 2024 17:22:55 +0530 Subject: [PATCH] Update core/tabs/applications-setup/office-suite-setup.sh Co-authored-by: JEEVITHA KANNAN K S --- core/tabs/applications-setup/office-suite-setup.sh | 6 +----- 1 file changed, 1 insertion(+), 5 deletions(-) diff --git a/core/tabs/applications-setup/office-suite-setup.sh b/core/tabs/applications-setup/office-suite-setup.sh index f60a559bf..1ff50135d 100644 --- a/core/tabs/applications-setup/office-suite-setup.sh +++ b/core/tabs/applications-setup/office-suite-setup.sh @@ -10,17 +10,13 @@ install_onlyoffice() { curl -O https://download.onlyoffice.com/install/desktop/editors/linux/onlyoffice-desktopeditors_amd64.deb "$ESCALATION_TOOL" dpkg -i onlyoffice-desktopeditors_amd64.deb ;; - zypper) + zypper|dnf) . ./setup-flatpak.sh flatpak install -y flathub org.onlyoffice.desktopeditors ;; pacman) "$AUR_HELPER" -S --noconfirm onlyoffice ;; - dnf) - . ./setup-flatpak.sh - flatpak install -y flathub org.onlyoffice.desktopeditors - ;; *) printf "%b\n" "${RED}The script does not support your Distro. Install manually..${RC}" ;;