From f2658ff4855f6556783f624db1056f852447e226 Mon Sep 17 00:00:00 2001 From: Phil Clifford <philip.clifford@gmail.com> Date: Sun, 5 Nov 2023 22:47:10 +0000 Subject: [PATCH] latest onlyoffice-desktopeditors release missing assets --- 01-main/packages/onlyoffice-desktopeditors | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) 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"