Merge branch 'bugfix/KASM-7854-fix_onlyoffice_rate_limiting_1.18.0' into 'release/1.18.0'

KASM-7854 fix OnlyOffice download url

See merge request kasm-technologies/internal/workspaces-images!357
This commit is contained in:
Richard Koliser 2025-10-19 05:00:13 +00:00
commit fcfd3b6bba
2 changed files with 2 additions and 3 deletions

View file

@ -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|rhel9|almalinux9|almalinux8|fedora39|fedora40) ]]; then
dnf localinstall -y only_office.rpm
if [ -z ${SKIP_CLEAN+x} ]; then

View file

@ -7,7 +7,7 @@ if [ "$ARCH" == "arm64" ] ; then
echo "Only Office is not supported on arm64, skipping Only Office installation"
exit 0
fi
curl -L -o /tmp/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 /tmp/only_office.deb
rm -rf /tmp/only_office.deb