refactor: update batocera to use web_pipe()
This commit is contained in:
parent
3796fa7596
commit
c0a3b0a686
2
quickget
2
quickget
|
@ -1904,7 +1904,7 @@ function get_vanillaos() {
|
||||||
function get_batocera() {
|
function get_batocera() {
|
||||||
local HASH=""
|
local HASH=""
|
||||||
local URL="https://mirrors.o2switch.fr/batocera/x86_64/stable/last"
|
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}"
|
echo "${URL}/${ISO} ${HASH}"
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue