From 7bee31c66664db5d65804c4968f95bfef645a2eb Mon Sep 17 00:00:00 2001 From: Phil Clifford Date: Sat, 11 Nov 2023 03:53:32 +0000 Subject: [PATCH] fix: make revised batocera actually find the latest file --- quickget | 17 +---------------- 1 file changed, 1 insertion(+), 16 deletions(-) diff --git a/quickget b/quickget index 85db0c1..16c0a99 100755 --- a/quickget +++ b/quickget @@ -1321,22 +1321,7 @@ function get_batocera() { local HASH="" local URL="https://mirrors.o2switch.fr/batocera/x86_64/stable/last" local ISO="$(curl -sl ${URL}/ | grep -e 'batocera.*img.gz'|cut -d\" -f2)" - local CURRENT_RELEASE=$(echo "${ISO}"| cut -d\- -f3) - - - case ${RELEASE} in - ${CURRENT_RELEASE}) #Current release - URL+="" - ;; - *) - URL+="/archives/${RELEASE}" - ISO="$(curl -sl ${URL}/ | grep -e 'batocera.*img.gz'|cut -d\" -f2)" - ;; # non-current are here - - esac - - - echo "${URL}/${ISO} ${HASH}" + echo "${URL}/${ISO} ${HASH}" } function get_bodhi() {