From ef78a0ced3d8f3d1e6bd86d1108324b7f49eff6c Mon Sep 17 00:00:00 2001 From: Phil Clifford Date: Sun, 14 Aug 2022 13:14:39 +0100 Subject: [PATCH] Fixes #443 --- deb-get | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/deb-get b/deb-get index f6ce969d..dd866526 100755 --- a/deb-get +++ b/deb-get @@ -2352,7 +2352,7 @@ function deb_flameshot() { if [ "${ACTION}" != "prettylist" ]; then URL="$(grep "browser_download_url.*\.${UPSTREAM_ID}-${UPSTREAM_RELEASE}\.${HOST_ARCH}\.deb\"" "${CACHE_DIR}/${APP}.json" | head -n1 | cut -d'"' -f4)" local VERSION_TMP="${URL##*/flameshot-}" - VERSION_PUBLISHED="${VERSION_TMP%%-ubuntu*}" + VERSION_PUBLISHED="${VERSION_TMP%%[-.]ubuntu*}" fi PRETTY_NAME="Flameshot" WEBSITE="https://flameshot.org/"