fix(quickget): add hash verification for Mabox Linux

This commit is contained in:
Martin Wimpress 2026-01-24 01:26:26 +00:00
parent cc69a1bdca
commit 8f1f3a31e0
No known key found for this signature in database
1 changed files with 3 additions and 0 deletions

View File

@ -2020,9 +2020,12 @@ function get_lmde() {
function get_maboxlinux() {
local HASH=""
local ISO=""
local URL=""
URL="https://sourceforge.net/projects/mabox-linux/files/${RELEASE}/download"
URL="$(web_redirect "${URL}" | cut -d? -f1)"
ISO="$(basename "${URL}")"
HASH=$(web_pipe "https://repo.maboxlinux.org/iso/${ISO}.md5" | cut -d' ' -f1)
echo "${URL} ${HASH}"
}