Add Artix Linux

This commit is contained in:
zenobit 2023-09-16 10:42:35 +02:00
parent 8d16fce503
commit eea717093d

View file

@ -37,6 +37,7 @@ function pretty_name() {
archlinux) PRETTY_NAME="Arch Linux";;
archcraft) PRETTY_NAME="Archcraft";;
arcolinux) PRETTY_NAME="Arco Linux";;
artix) PRETTY_NAME="Artix Linux";;
atheanos) PRETTY_NAME="Athena OS";;
biglinux) PRETTY_NAME="BigLinux";;
blendos) PRETTY_NAME="BlendOS";;
@ -197,6 +198,7 @@ function os_support() {
archlinux \
archcraft \
arcolinux \
artix \
athenaos \
batocera \
biglinux \
@ -320,11 +322,18 @@ function editions_arcolinux() {
echo large small
}
function releases_artix() {
echo stable
}
function editions_artix() {
echo base-dinit base-openrc base-runit base-s6 cinnamon-dinit cinnamon-openrc cinnamon-runit cinnamon-s6 lxde-dinit lxde-openrc lxde-runit lxde-s6 lxqt-dinit lxqt-openrc lxqt-runit lxqt-s6 mate-dinit mate-openrc mate-runit mate-s6 plasma-dinit plasma-openrc plasma-runit plasma-s6 xfce-dinit xfce-openrc xfce-runit xfce-s6 community-gtk-openrc community-qt-openrc
}
function releases_athenaos() {
echo 23.06.23
}
function releases_batocera() {
echo 32 33 34
}
@ -1192,6 +1201,18 @@ function get_arcolinux() {
echo "${URL}/${ISO} ${HASH}"
}
function get_artix() {
local EDITION="${1:-}"
local HASH=""
local ISO=""
local URL="https://iso.artixlinux.org/iso"
DATE=$(wget -q -O- ${URL}/sha256sums | cut -d'-' -f4 | head -1)
ISO="artix-${EDITION}-${DATE}-x86_64.iso"
HASH=$(wget -q -O- ${URL}/sha256sums | grep "${ISO}")
echo "${URL}/${ISO} ${HASH}"
}
function get_athenaos() {
local HASH=""
local URL=""