41 lines
1.2 KiB
Plaintext
41 lines
1.2 KiB
Plaintext
# Template file for 'antix'
|
|
OSNAME="antix"
|
|
PRETTY="Antix"
|
|
BASEDOF="Debian"
|
|
DESCRIPTION="Fast, lightweight and easy to install systemd-free linux live CD distribution based on Debian Stable for Intel-AMD x86 compatible systems"
|
|
HOMEPAGE="https://antixlinux.com"
|
|
CREDENTIALS="-"
|
|
|
|
function releases_() {
|
|
echo 23.2 23.1 23 22 21
|
|
}
|
|
|
|
function editions_() {
|
|
echo net-sysv core-sysv base-sysv full-sysv net-runit core-runit base-runit full-runit
|
|
}
|
|
|
|
function get_() {
|
|
local HASH=""
|
|
local ISO="antiX-${RELEASE}"
|
|
local README="README"
|
|
local URL="https://sourceforge.net/projects/antix-linux/files/Final/antiX-${RELEASE}"
|
|
|
|
# antiX uses a different URL and ISO naming for runit editions
|
|
if [[ "${EDITION}" == *"runit"* ]];then
|
|
ISO+="-runit"
|
|
README="README2"
|
|
case ${RELEASE} in
|
|
21) URL+="/runit-bullseye";;
|
|
*) URL+="/runit-antiX-${RELEASE}";;
|
|
esac
|
|
fi
|
|
case ${EDITION} in
|
|
base-*) ISO+="_x64-base.iso";;
|
|
core-*) ISO+="_x64-core.iso";;
|
|
full-*) ISO+="_x64-full.iso";;
|
|
net-*) ISO+="-net_x64-net.iso";;
|
|
esac
|
|
HASH=$(web_pipe "${URL}/${README}.txt" | grep "${ISO}" | cut -d' ' -f1 | head -n 1)
|
|
echo "${URL}/${ISO} ${HASH}"
|
|
}
|