chore!: drop easyos; the domain for downloads no longer resolves. close #921
This commit is contained in:
parent
facb5d163e
commit
f018aee3aa
31
quickget
31
quickget
|
@ -79,7 +79,6 @@ function pretty_name() {
|
||||||
chimeralinux) PRETTY_NAME="Chimera Linux";;
|
chimeralinux) PRETTY_NAME="Chimera Linux";;
|
||||||
crunchbang++) PRETTY_NAME="Crunchbang++";;
|
crunchbang++) PRETTY_NAME="Crunchbang++";;
|
||||||
dragonflybsd) PRETTY_NAME="DragonFlyBSD";;
|
dragonflybsd) PRETTY_NAME="DragonFlyBSD";;
|
||||||
easyos) PRETTY_NAME="EasyOS";;
|
|
||||||
elementary) PRETTY_NAME="elementary OS";;
|
elementary) PRETTY_NAME="elementary OS";;
|
||||||
endeavouros) PRETTY_NAME="EndeavourOS";;
|
endeavouros) PRETTY_NAME="EndeavourOS";;
|
||||||
endless) PRETTY_NAME="Endless OS";;
|
endless) PRETTY_NAME="Endless OS";;
|
||||||
|
@ -247,7 +246,6 @@ function os_support() {
|
||||||
deepin \
|
deepin \
|
||||||
devuan \
|
devuan \
|
||||||
dragonflybsd \
|
dragonflybsd \
|
||||||
easyos \
|
|
||||||
edubuntu \
|
edubuntu \
|
||||||
elementary \
|
elementary \
|
||||||
endeavouros \
|
endeavouros \
|
||||||
|
@ -349,7 +347,6 @@ function os_homepages(){
|
||||||
deepin) HOMEPAGE="https://www.deepin.org/";;
|
deepin) HOMEPAGE="https://www.deepin.org/";;
|
||||||
devuan) HOMEPAGE="https://www.devuan.org/";;
|
devuan) HOMEPAGE="https://www.devuan.org/";;
|
||||||
dragonflybsd) HOMEPAGE="https://www.dragonflybsd.org/";;
|
dragonflybsd) HOMEPAGE="https://www.dragonflybsd.org/";;
|
||||||
easyos) HOMEPAGE="https://easyos.org/";;
|
|
||||||
edubuntu) HOMEPAGE="https://www.edubuntu.org/";;
|
edubuntu) HOMEPAGE="https://www.edubuntu.org/";;
|
||||||
elementary) HOMEPAGE="https://elementary.io/";;
|
elementary) HOMEPAGE="https://elementary.io/";;
|
||||||
endeavouros) HOMEPAGE="https://endeavouros.com/";;
|
endeavouros) HOMEPAGE="https://endeavouros.com/";;
|
||||||
|
@ -596,15 +593,6 @@ function releases_dragonflybsd() {
|
||||||
echo $DBSD_RELEASES
|
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() {
|
function releases_elementary() {
|
||||||
echo 7.0 7.1
|
echo 7.0 7.1
|
||||||
}
|
}
|
||||||
|
@ -1117,7 +1105,7 @@ function web_get() {
|
||||||
else
|
else
|
||||||
FILE="${URL##*/}"
|
FILE="${URL##*/}"
|
||||||
fi
|
fi
|
||||||
|
|
||||||
while (( "$#" )); do
|
while (( "$#" )); do
|
||||||
if [[ $1 == --header ]]; then
|
if [[ $1 == --header ]]; then
|
||||||
HEADERS+=("$1" "$2")
|
HEADERS+=("$1" "$2")
|
||||||
|
@ -1146,7 +1134,7 @@ function web_get() {
|
||||||
if [[ ${OS} != windows && ${OS} != macos && ${OS} != windows-server ]]; then
|
if [[ ${OS} != windows && ${OS} != macos && ${OS} != windows-server ]]; then
|
||||||
echo Downloading $(pretty_name "${OS}") ${RELEASE} ${EDITION:+ $EDITION} from ${URL}
|
echo Downloading $(pretty_name "${OS}") ${RELEASE} ${EDITION:+ $EDITION} from ${URL}
|
||||||
fi
|
fi
|
||||||
|
|
||||||
if command -v aria2c &>/dev/null; then
|
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
|
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
|
echo #Necessary as aria2c in suppressed mode does not have new lines
|
||||||
|
@ -1759,15 +1747,6 @@ function get_dragonflybsd() {
|
||||||
echo "${URL}/${ISO} ${HASH}"
|
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() {
|
function get_elementary() {
|
||||||
local HASH=""
|
local HASH=""
|
||||||
case ${RELEASE} in
|
case ${RELEASE} in
|
||||||
|
@ -2089,7 +2068,7 @@ function get_macos() {
|
||||||
fi
|
fi
|
||||||
|
|
||||||
if [ -z "${CHUNKCHECK}" ]; then
|
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
|
if [ "${skipVerification,,}" != "y" ] && [ "${skipVerification,,}" != "yes" ]; then
|
||||||
exit 1
|
exit 1
|
||||||
fi
|
fi
|
||||||
|
@ -3070,7 +3049,7 @@ function download_windows-server() {
|
||||||
local CULTURE=""
|
local CULTURE=""
|
||||||
local COUNTRY=""
|
local COUNTRY=""
|
||||||
local PRETTY_RELEASE=""
|
local PRETTY_RELEASE=""
|
||||||
|
|
||||||
case "$RELEASE" in
|
case "$RELEASE" in
|
||||||
"10-ltsc") PRETTY_RELEASE="10 LTSC";;
|
"10-ltsc") PRETTY_RELEASE="10 LTSC";;
|
||||||
"2012-r2") PRETTY_RELEASE="2012 R2";;
|
"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:
|
# 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
|
# https://github.com/pbatard/Fido
|
||||||
|
|
||||||
# Either 8, 10, or 11
|
# Either 8, 10, or 11
|
||||||
local windows_version="$1"
|
local windows_version="$1"
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue