From 60c6a9aa0721b580e34ce35b9998f43bfcbf2684 Mon Sep 17 00:00:00 2001 From: Teja Swaroop Pothala Date: Fri, 17 Oct 2025 16:00:22 +0000 Subject: [PATCH] KASM-7854 fix OnlyOffice download url --- src/oracle/install/only_office/install_only_office.sh | 3 +-- src/ubuntu/install/only_office/install_only_office.sh | 6 +++--- 2 files changed, 4 insertions(+), 5 deletions(-) diff --git a/src/oracle/install/only_office/install_only_office.sh b/src/oracle/install/only_office/install_only_office.sh index 67bdfe8..02e90fa 100644 --- a/src/oracle/install/only_office/install_only_office.sh +++ b/src/oracle/install/only_office/install_only_office.sh @@ -6,8 +6,7 @@ if [ "$ARCH" == "arm64" ] ; then echo "Only Office is not supported on arm64, skipping Only Office installation" exit 0 fi - -curl -L -o only_office.rpm "https://download.onlyoffice.com/install/desktop/editors/linux/onlyoffice-desktopeditors.$(arch).rpm" +curl -L -o only_office.rpm "https://github.com/ONLYOFFICE/DesktopEditors/releases/latest/download/onlyoffice-desktopeditors.$(arch).rpm" if [[ "${DISTRO}" == @(oracle8|rockylinux9|rockylinux8|oracle9|almalinux9|almalinux8|fedora37|fedora38|fedora39) ]]; then dnf localinstall -y only_office.rpm if [ -z ${SKIP_CLEAN+x} ]; then diff --git a/src/ubuntu/install/only_office/install_only_office.sh b/src/ubuntu/install/only_office/install_only_office.sh index fab061a..75b6ae8 100644 --- a/src/ubuntu/install/only_office/install_only_office.sh +++ b/src/ubuntu/install/only_office/install_only_office.sh @@ -7,10 +7,10 @@ if [ "$ARCH" == "arm64" ] ; then echo "Only Office is not supported on arm64, skipping Only Office installation" exit 0 fi -curl -L -o only_office.deb "https://download.onlyoffice.com/install/desktop/editors/linux/onlyoffice-desktopeditors_${ARCH}.deb" +curl -L -o /tmp/only_office.deb "https://github.com/ONLYOFFICE/DesktopEditors/releases/latest/download/onlyoffice-desktopeditors_${ARCH}.deb" apt-get update -apt-get install -y ./only_office.deb -rm -rf only_office.deb +apt-get install -y /tmp/only_office.deb +rm -rf /tmp/only_office.deb # Desktop icon cp /usr/share/applications/onlyoffice-desktopeditors.desktop $HOME/Desktop