chore: Move get_bunsenlabs function

This commit is contained in:
zen0bit 2024-04-21 08:05:39 +02:00 committed by Martin Wimpress
parent 3d36ea703d
commit 07b1284d2a
1 changed files with 8 additions and 8 deletions

View File

@ -1835,14 +1835,6 @@ function get_biglinux() {
echo "${URL}/${ISO} ${HASH}"
}
function get_bunsenlabs() {
local HASH=""
local ISO="boron-1-240123-amd64.hybrid.iso"
local URL="https://ddl.bunsenlabs.org/ddl"
HASH=$(web_pipe "${URL}/release.sha256.txt" | head -1 | cut_1)
echo "${URL}/${ISO} ${HASH}"
}
function get_blendos() {
local HASH=""
local ISO="blendos-${RELEASE}-stable-${EDITION}.iso"
@ -1879,6 +1871,14 @@ function get_bodhi() {
echo "${URL}/${ISO} ${HASH}"
}
function get_bunsenlabs() {
local HASH=""
local ISO="boron-1-240123-amd64.hybrid.iso"
local URL="https://ddl.bunsenlabs.org/ddl"
HASH=$(web_pipe "${URL}/release.sha256.txt" | head -1 | cut_1)
echo "${URL}/${ISO} ${HASH}"
}
function get_cachyos() {
local URL="https://mirror.cachyos.org/ISO/${EDITION}/"
local REL=$(web_pipe "${URL}" | grep -Po '(?<=">)[0-9]+(?=/</a>)' | sort -ru | tail -n 1)