mirror of
https://github.com/oSoWoSo/DistroHopper.git
synced 2026-06-14 17:36:40 +00:00
16 lines
599 B
Text
16 lines
599 B
Text
INFO=" |Archcraft|Arch||https://archcraft.io/|Yet another minimal Linux distribution, based on Arch Linux.";;
|
|
|
|
function releases_archcraft() {
|
|
echo latest
|
|
}
|
|
|
|
function get_archcraft() {
|
|
local HASH=""
|
|
local URL=""
|
|
# no longer needed?
|
|
#local TMPURL=""
|
|
|
|
# Check where the URL redirects using curl. Output to a nonexistent directory so it's not possible to successfully download the image
|
|
URL=$(curl -Lfs "https://sourceforge.net/projects/archcraft/files/latest/download" -w %{url_effective} -o /this/is/a/nonexistent/directory/$RANDOM/$RANDOM)
|
|
echo "${URL} ${HASH}"
|
|
}
|