blendos URL

This commit is contained in:
zenobit 2023-03-13 17:30:50 +01:00
parent e5a5e1965a
commit 690e06ed67
1 changed files with 1 additions and 1 deletions

View File

@ -1003,7 +1003,7 @@ function get_batocera() {
function get_blendos() {
local HASH=""
local URL="$(curl -s https://api.github.com/repos/blend-os/blendOS/releases |grep 'browser_download_url'|grep ${RELEASE} | grep -o '\"http.*\.iso\"'| cut -d\" -f 2| head -1)"
local URL="$(curl -s https://api.github.com/repos/blend-os/blendOS/releases | grep 'browser_download_url'| grep ${RELEASE} | grep -o '\"http.*\.iso\"'| cut -d\" -f 2| head -1)"
HASH=$(curl -s "${URL}.sha256sum" | cut -d' ' -f1)
echo "${URL} ${HASH}"
case ${RELEASE} in