fix(quickget): add hash verification for Mabox Linux

This commit is contained in:
Martin Wimpress 2026-01-24 01:26:26 +00:00 committed by Martin Wimpress
parent 9d4171b0d6
commit 7a59041120
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}"
}