refactor: update batocera to use web_pipe()

This commit is contained in:
Martin Wimpress 2024-04-19 14:13:54 +01:00 committed by Martin Wimpress
parent 3796fa7596
commit c0a3b0a686
1 changed files with 1 additions and 1 deletions

View File

@ -1904,7 +1904,7 @@ function get_vanillaos() {
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 ISO="$(web_pipe "${URL}/" | grep -e 'batocera.*img.gz'| cut -d'"' -f2)"
echo "${URL}/${ISO} ${HASH}"
}