chore: preserve recent changes to get_blendos()
This commit is contained in:
parent
0057b3fbee
commit
eed65ddc81
9
quickget
9
quickget
|
@ -1670,12 +1670,9 @@ function get_biglinux() {
|
||||||
|
|
||||||
function get_blendos() {
|
function get_blendos() {
|
||||||
local HASH=""
|
local HASH=""
|
||||||
local URL=""
|
local ISO="blendos-${RELEASE}-stable-${EDITION}.iso"
|
||||||
local latest_blendos_release
|
local URL="https://mirror.ico277.xyz/blendos/${EDITION}"
|
||||||
latest_blendos_release="$(grep "${EDITION}" /tmp/blendos-isos.rss | cut -d '/' -f 9 | sort -nr | head -n 1)"
|
echo "${URL}/${ISO} ${HASH}"
|
||||||
URL=$(grep "${EDITION}/${latest_blendos_release}" /tmp/blendos-isos.rss | grep -E -o 'https://.*blendOS\.iso')
|
|
||||||
HASH=$(grep "${EDITION}/${latest_blendos_release}" /tmp/blendos-isos.rss | grep -E -o '[[:alnum:]]{32}')
|
|
||||||
echo "${URL} ${HASH}"
|
|
||||||
}
|
}
|
||||||
|
|
||||||
function get_bodhi() {
|
function get_bodhi() {
|
||||||
|
|
Loading…
Reference in New Issue