From 708070739c479e517154330dbfb596add1c2d2f4 Mon Sep 17 00:00:00 2001 From: zenobit Date: Tue, 28 Nov 2023 11:09:46 +0100 Subject: [PATCH] Add EasyOS --- quickget | 21 +++++++++++++++++++++ 1 file changed, 21 insertions(+) diff --git a/quickget b/quickget index 91d1f9a..bdb8511 100755 --- a/quickget +++ b/quickget @@ -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