diff --git a/01-main/packages/onlyoffice-desktopeditors b/01-main/packages/onlyoffice-desktopeditors index 003c37f56..93a5d6bff 100644 --- a/01-main/packages/onlyoffice-desktopeditors +++ b/01-main/packages/onlyoffice-desktopeditors @@ -1,7 +1,7 @@ DEFVER=1 -get_github_releases "ONLYOFFICE/DesktopEditors" "latest" +get_github_releases "ONLYOFFICE/DesktopEditors" if [ "${ACTION}" != "prettylist" ]; then - URL="$(grep "browser_download_url.*\.deb\"" "${CACHE_FILE}" | grep -v help | cut -d'"' -f4)" + URL="$(grep "browser_download_url.*\.deb\"" "${CACHE_FILE}" | grep -v help | head -n1 | cut -d'"' -f4)" VERSION_PUBLISHED="$(echo "${URL}" | cut -d'/' -f8 | tr -d v)" fi PRETTY_NAME="ONLYOFFICE Desktop Editors"