mirror of
https://github.com/oSoWoSo/DistroHopper.git
synced 2026-06-14 09:32:21 +00:00
66 lines
1.5 KiB
Text
66 lines
1.5 KiB
Text
# Template file for 'antix'
|
|
OSNAME="antix"
|
|
PRETTY="Antix"
|
|
LOGO=""
|
|
ICON="antix.svg"
|
|
ICON_ONLINE="https://distrowatch.com/images/yvzhuwbpy/antix.png"
|
|
CATEGORY="Lightweight"
|
|
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="-"
|
|
GPG=""
|
|
RSS=""
|
|
DW=""
|
|
MAGNET=""
|
|
CHAT=""
|
|
|
|
RELEASES="26 25 23.2 23.1 23 22 21"
|
|
EDITIONS="base-runit base-sysv core-runit core-sysv full-runit full-sysv net-runit net-sysv"
|
|
QEMU_ARCH="amd64 i386"
|
|
|
|
releases_() {
|
|
echo 26 25 23.2 23.1 23 22 21
|
|
}
|
|
|
|
editions_() {
|
|
echo base-runit base-sysv core-runit core-sysv full-runit full-sysv net-runit net-sysv
|
|
}
|
|
|
|
arch_() {
|
|
echo amd64 i386
|
|
}
|
|
|
|
get_() {
|
|
local HASH=""
|
|
local ISO="antiX-${RELEASE}"
|
|
local QEMU_ARCH="x64"
|
|
local README="README"
|
|
local URL="https://sourceforge.net/projects/antix-linux/files/Final/antiX-${RELEASE}"
|
|
|
|
case "${ARCH}" in
|
|
i386) QEMU_ARCH="386";;
|
|
amd64|*) QEMU_ARCH="x64";;
|
|
esac
|
|
|
|
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+="_${QEMU_ARCH}-base.iso";;
|
|
core-*) ISO+="_${QEMU_ARCH}-core.iso";;
|
|
full-*) ISO+="_${QEMU_ARCH}-full.iso";;
|
|
net-*) ISO+="-net_${QEMU_ARCH}-net.iso";;
|
|
esac
|
|
HASH=$(web_pipe "${URL}/${README}.txt" | grep "${ISO}" | cut -d' ' -f1 | head -n 1)
|
|
echo "${URL}/${ISO} ${HASH}"
|
|
}
|
|
|
|
config_() {
|
|
echo "disk_size=\"32G\"" >> "${CONF_FILE}"
|
|
}
|