Add EasyOS

This commit is contained in:
zenobit 2023-11-28 11:09:46 +01:00 committed by Martin Wimpress
parent c58e5c5b98
commit 708070739c

View file

@ -65,6 +65,7 @@ function pretty_name() {
cachyos) PRETTY_NAME="CachyOS";;
centos-stream) PRETTY_NAME="CentOS Stream";;
dragonflybsd) PRETTY_NAME="DragonFlyBSD";;
easyos) PRETTY_NAME="EasyOS";;
elementary) PRETTY_NAME="elementary OS";;
endeavouros) PRETTY_NAME="EndeavourOS";;
endless) PRETTY_NAME="Endless OS";;
@ -219,6 +220,7 @@ function os_support() {
deepin \
devuan \
dragonflybsd \
easyos \
edubuntu \
elementary \
endeavouros \
@ -304,6 +306,7 @@ function os_homepages(){
deepin) HOMEPAGE="https://www.deepin.org/";;
devuan) HOMEPAGE="https://www.devuan.org/";;
dragonflybsd) HOMEPAGE="https://www.dragonflybsd.org/";;
easyos) HOMEPAGE="https://easyos.org/";;
edubuntu) HOMEPAGE="https://www.edubuntu.org/";;
elementary) HOMEPAGE="https://elementary.io/";;
endeavouros) HOMEPAGE="https://endeavouros.com/";;
@ -481,6 +484,15 @@ function releases_dragonflybsd() {
echo $DBSD_RELEASES
}
function releases_easyos() {
#local RLIST
#RLIST=$(curl -s https://distro.ibiblio.org/easyos/amd64/releases/kirkstone/2023/ | grep 'href="' | tail +2 | cut -d'/' -f1 | cut -d'"' -f6)
#RLIST=$(wget -q -O- 'https://distro.ibiblio.org/easyos/amd64/releases/kirkstone/2023/' | grep 'href="' | tail +2 | cut -d'/' -f1 | cut -d'"' -f6)
#echo ${RLIST}
# Not dynamic for now
echo 5.6.4 5.6.3 5.6.2 5.6.1 5.5.5 5.5.4
}
function releases_elementary() {
echo 7.0 7.1
}
@ -1405,6 +1417,15 @@ function get_dragonflybsd() {
echo "${URL}/${ISO} ${HASH}"
}
function get_easyos() {
local HASH=""
local URL="https://distro.ibiblio.org/easyos/amd64/releases/kirkstone/2023/${RELEASE}"
local ISO="easy-${RELEASE}-amd64.img"
HASH=$(wget -q -O- "${URL}/md5.sum.txt" | cut -d' ' -f1)
echo "${URL}/${ISO} ${HASH}"
}
function get_elementary() {
local HASH=""
case ${RELEASE} in