Add AgarimOS

This commit is contained in:
zenobit 2023-09-14 14:59:08 +02:00
parent d8e85f4762
commit 2ff9789315

View file

@ -30,6 +30,7 @@ function pretty_name() {
local PRETTY_NAME="" local PRETTY_NAME=""
SIMPLE_NAME="${1}" SIMPLE_NAME="${1}"
case ${SIMPLE_NAME} in case ${SIMPLE_NAME} in
agarimos) PRETTY_NAME="AgarimOS";;
alma) PRETTY_NAME="Alma Linux";; alma) PRETTY_NAME="Alma Linux";;
alpine) PRETTY_NAME="Alpine Linux";; alpine) PRETTY_NAME="Alpine Linux";;
android) PRETTY_NAME="Android x86";; android) PRETTY_NAME="Android x86";;
@ -176,7 +177,8 @@ function list_csv() {
} }
function os_support() { function os_support() {
echo alma \ echo agarimos \
alma \
alpine \ alpine \
android \ android \
archlinux \ archlinux \
@ -246,6 +248,10 @@ function os_support() {
zorin zorin
} }
function releases_agarimos() {
echo 20230305 20230303 20230225 20230216
}
function releases_alma() { function releases_alma() {
echo 8.6 8.7 9.0 9.1 echo 8.6 8.7 9.0 9.1
} }
@ -961,6 +967,34 @@ EOF
exit 0 exit 0
} }
function get_agarimos() {
local EDITION="${1:-}"
local HASH=""
local ISO=""
local URL=""
case ${RELEASE} in
20230305)
URL="https://sourceforge.net/projects/agarimos/files/Gnome"
ISO="AgarimOS-Gnome-Catppuccin-Live-x86_64-6.1.14_1-20230305.iso"
;;
20230303)
URL="https://sourceforge.net/projects/agarimos/files/Plasma"
ISO="AgarimOS-Plasma-Dracula-Live-x86_64-6.1.14_1-20230303.iso"
;;
20230225)
URL="https://sourceforge.net/projects/agarimos/files/XFCE4"
ISO="AgarimOS-XFCE4-Catppuccin-Live-x86_64-6.1.12_1-20230216.iso"
;;
20230216)
URL="https://sourceforge.net/projects/agarimos/files/XFCE4"
ISO="AgarimOS-XFCE4-Catppuccin-Live-6.1.13_1-20230225.iso"
;;
esac
HASH=$(wget -q -O- "${URL}/${ISO}.sha256" | cut -d' ' -f1)
echo "${URL}/${ISO} ${HASH}"
}
function get_alma() { function get_alma() {
local EDITION="${1:-}" local EDITION="${1:-}"
local HASH="" local HASH=""