chore!: drop easyos; the domain for downloads no longer resolves. close #921

This commit is contained in:
Martin Wimpress 2024-04-11 22:36:03 +01:00 committed by Martin Wimpress
parent facb5d163e
commit f018aee3aa
1 changed files with 5 additions and 26 deletions

View File

@ -79,7 +79,6 @@ function pretty_name() {
chimeralinux) PRETTY_NAME="Chimera Linux";;
crunchbang++) PRETTY_NAME="Crunchbang++";;
dragonflybsd) PRETTY_NAME="DragonFlyBSD";;
easyos) PRETTY_NAME="EasyOS";;
elementary) PRETTY_NAME="elementary OS";;
endeavouros) PRETTY_NAME="EndeavourOS";;
endless) PRETTY_NAME="Endless OS";;
@ -247,7 +246,6 @@ function os_support() {
deepin \
devuan \
dragonflybsd \
easyos \
edubuntu \
elementary \
endeavouros \
@ -349,7 +347,6 @@ 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/";;
@ -596,15 +593,6 @@ 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
}
@ -1117,7 +1105,7 @@ function web_get() {
else
FILE="${URL##*/}"
fi
while (( "$#" )); do
if [[ $1 == --header ]]; then
HEADERS+=("$1" "$2")
@ -1146,7 +1134,7 @@ function web_get() {
if [[ ${OS} != windows && ${OS} != macos && ${OS} != windows-server ]]; then
echo Downloading $(pretty_name "${OS}") ${RELEASE} ${EDITION:+ $EDITION} from ${URL}
fi
if command -v aria2c &>/dev/null; then
if ! aria2c --stderr -x16 --continue=true --summary-interval=0 --download-result=hide --console-log-level=error "${URL}" --dir "${DIR}" -o "${FILE}" "${HEADERS[@]}"; then
echo #Necessary as aria2c in suppressed mode does not have new lines
@ -1759,15 +1747,6 @@ 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
@ -2089,7 +2068,7 @@ function get_macos() {
fi
if [ -z "${CHUNKCHECK}" ]; then
read -p "ERROR! Can not find chunkcheck. Will not be able to verify image. Proceed anyways?" skipVerification
read -p "ERROR! Can not find chunkcheck. Will not be able to verify image. Proceed anyways?" skipVerification
if [ "${skipVerification,,}" != "y" ] && [ "${skipVerification,,}" != "yes" ]; then
exit 1
fi
@ -3070,7 +3049,7 @@ function download_windows-server() {
local CULTURE=""
local COUNTRY=""
local PRETTY_RELEASE=""
case "$RELEASE" in
"10-ltsc") PRETTY_RELEASE="10 LTSC";;
"2012-r2") PRETTY_RELEASE="2012 R2";;
@ -3151,7 +3130,7 @@ function download_windows() {
#
# If this function in Mido fails to work for you then please test with the Fido script before creating an issue because we basically just copy what Fido does exactly:
# https://github.com/pbatard/Fido
# Either 8, 10, or 11
local windows_version="$1"