Correction of release naming

They should always have respected the RELEASE
Add new daily-legacy release
pull/718/head
Phil Clifford 2 years ago committed by Martin Wimpress
parent 11dff38fa6
commit 92371b60c3
  1. 16
      quickget

@ -147,7 +147,9 @@ function list_csv() {
for RELEASE in $("releases_${FUNC}"); do
if [ "${OS}" == "macos" ]; then
DOWNLOADER="macrecovery"
elif [ "${OS}" == "ubuntu" ] && [ "${RELEASE}" == "canary" ] && [ ${HAS_ZSYNC} -eq 1 ]; then
elif [ "${OS}" == "ubuntu" ] && [ "${RELEASE}" == "daily-canary" ] && [ ${HAS_ZSYNC} -eq 1 ]; then
DOWNLOADER="zsync"
elif [ "${OS}" == "ubuntu" ] && [ "${RELEASE}" == "daily-legacy" ] && [ ${HAS_ZSYNC} -eq 1 ]; then
DOWNLOADER="zsync"
elif [[ "${OS}" == *"ubuntu"* ]] && [ "${RELEASE}" == "devel" ] && [ ${HAS_ZSYNC} -eq 1 ]; then
DOWNLOADER="zsync"
@ -622,11 +624,12 @@ function releases_ubuntu() {
;
else
# daily-canary \ # seems to have vanished, to be replaced by daily-legacy
echo ${LTS_SUPPORT} \
${INTERIM_SUPPORT} \
jammy-daily \
daily-live \
daily-canary \
daily-legacy \
eol-4.10 \
eol-5.04 \
eol-5.10 \
@ -1774,6 +1777,9 @@ function get_ubuntu() {
elif [ "${RELEASE}" == "daily-canary" ] && [ "${OS}" != "ubuntu" ]; then
# daily-canary is only available for Ubuntu, switch flavours to daily-live
RELEASE="daily-live"
elif [ "${RELEASE}" == "daily-legacy" ] && [ "${OS}" != "ubuntu" ]; then
# daily-legacy is only available for Ubuntu, switch flavours to daily-live
RELEASE="daily-live"
fi
if [[ "${RELEASE}" == "eol-"* ]]; then
@ -1781,10 +1787,12 @@ function get_ubuntu() {
elif [[ "${RELEASE}" == "jammy-daily" ]]; then
URL="https://cdimage.ubuntu.com/${OS}/jammy/daily-live/current"
VM_PATH="${OS}-jammy-live"
elif [[ "${RELEASE}" == "daily-legacy" ]]; then
URL="https://cdimage.ubuntu.com/${RELEASE}/current"
VM_PATH="${OS}-${RELEASE}"
elif [[ "${RELEASE}" == *"daily"* ]] || [ "${RELEASE}" == "dvd" ]; then
URL="https://cdimage.ubuntu.com/${OS}/${RELEASE}/current"
VM_PATH="${OS}-daily-live"
VM_PATH="${OS}-${RELEASE}"
elif [ "${OS}" == "ubuntu" ]; then
URL="https://releases.ubuntu.com/${RELEASE}"
else

Loading…
Cancel
Save