From 25fdfc38f94e51c2306123991f0ab1cb95c1db4c Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?S=C3=B8ren=20Theilgaard?= Date: Mon, 22 Nov 2021 12:03:32 +0100 Subject: [PATCH] Update fastscripts.sh --- fragments/labels/fastscripts.sh | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/fragments/labels/fastscripts.sh b/fragments/labels/fastscripts.sh index 2aed4c9..e75144d 100644 --- a/fragments/labels/fastscripts.sh +++ b/fragments/labels/fastscripts.sh @@ -1,7 +1,7 @@ fastscripts) name="FastScripts" type="zip" - downloadURL=$( curl -fs "https://redsweater.com/fastscripts/appcast3.php" | xpath '//rss/channel/item/enclosure/@url' 2>/dev/null | cut -d '"' -f2 ) - appNewVersion=$( curl -fs "https://redsweater.com/fastscripts/appcast3.php" | xpath '//rss/channel/item/enclosure/@sparkle:shortVersionString' 2>/dev/null | cut -d '"' -f2 ) + downloadURL=$( curl -fs "https://redsweater.com/fastscripts/appcast3.php" | xpath '(//rss/channel/item/enclosure/@url)[1]' 2>/dev/null | cut -d '"' -f2 ) + appNewVersion=$( curl -fs "https://redsweater.com/fastscripts/appcast3.php" | xpath '(//rss/channel/item/enclosure/@sparkle:shortVersionString)[1]' 2>/dev/null | cut -d '"' -f2 ) expectedTeamID="493CVA9A35" ;;