fix(quickget): add hash verification for Archcraft
This commit is contained in:
parent
5090385dbd
commit
2e5b29ad43
3
quickget
3
quickget
|
|
@ -1600,9 +1600,12 @@ function get_antix() {
|
|||
|
||||
function get_archcraft() {
|
||||
local HASH=""
|
||||
local ISO=""
|
||||
local URL=""
|
||||
URL="https://sourceforge.net/projects/archcraft/files/${RELEASE}/download"
|
||||
URL="$(web_redirect "${URL}" | cut -d? -f1)"
|
||||
ISO="$(basename "${URL}")"
|
||||
HASH=$(web_pipe "https://sourceforge.net/projects/archcraft/files/v${RELEASE}/${ISO}.sha256sum" | cut -d' ' -f1)
|
||||
echo "${URL} ${HASH}"
|
||||
}
|
||||
|
||||
|
|
|
|||
Loading…
Reference in New Issue