mirror of
https://github.com/oSoWoSo/DistroHopper.git
synced 2024-08-14 22:46:53 +00:00
syntax repair
This commit is contained in:
parent
62a392581a
commit
e5a5e1965a
1 changed files with 2 additions and 3 deletions
5
quickget
5
quickget
|
@ -999,16 +999,15 @@ function get_batocera() {
|
|||
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)
|
||||
}
|
||||
|
||||
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)"
|
||||
HASH=$(curl -s "${URL}.sha256sum" | cut -d' ' -f1)
|
||||
echo "${URL} ${HASH}"
|
||||
}
|
||||
|
||||
case ${RELEASE} in
|
||||
${CURRENT_RELEASE}) #Current release
|
||||
"${CURRENT_RELEASE}") #Current release
|
||||
URL+=""
|
||||
;;
|
||||
*)
|
||||
|
|
Loading…
Reference in a new issue