refactor: make hardcoded URL in get_archcraft() dynamic

This commit is contained in:
Martin Wimpress 2024-04-21 09:54:13 +01:00 committed by Martin Wimpress
parent eb78e7780e
commit 592572345c
1 changed files with 1 additions and 1 deletions

View File

@ -1815,7 +1815,7 @@ function get_archlinux() {
function get_archcraft() { function get_archcraft() {
local HASH="" local HASH=""
local URL="" local URL=""
URL="https://sourceforge.net/projects/archcraft/files/latest/download" URL="https://sourceforge.net/projects/archcraft/files/${RELEASE}/download"
echo "${URL} ${HASH}" echo "${URL} ${HASH}"
} }