From 9923a03a1261865868dfec0d98484c1d4c215dac Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?S=C3=B8ren=20Theilgaard?= Date: Mon, 22 Nov 2021 14:50:00 +0100 Subject: [PATCH] Update inkscape.sh --- fragments/labels/inkscape.sh | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/fragments/labels/inkscape.sh b/fragments/labels/inkscape.sh index 5d21a91..41c91a5 100644 --- a/fragments/labels/inkscape.sh +++ b/fragments/labels/inkscape.sh @@ -3,6 +3,7 @@ inkscape) name="Inkscape" type="dmg" downloadURL="https://inkscape.org$(curl -fs https://inkscape.org$(curl -fsJL https://inkscape.org/release/ | grep "/release/" | grep en | head -n 1 | cut -d '"' -f 6)mac-os-x/dmg/dl/ | grep "click here" | cut -d '"' -f 2)" - #appNewVersion=$(curl -fsJL https://inkscape.org/release/ | grep "

Inkscape" | cut -d '>' -f 3 | cut -d '<' -f 1 | sed 's/[^0-9.]*//g') # Can't figure out where exact new version is found. Currently returns 1.0, but version is "1.0.0 (4035a4f)" + appCustomVersion() { /Applications/Inkscape.app/Contents/MacOS/inkscape --version | cut -d " " -f2 } + appNewVersion=$(curl -fsJL https://inkscape.org/release/ | grep "" | grep -o -e "[0-9.]*") expectedTeamID="SW3D6BB6A6" ;;