mirror of
https://github.com/oSoWoSo/DistroHopper.git
synced 2024-08-14 22:46:53 +00:00
Correction of release naming
They should always have respected the RELEASE Add new daily-legacy release
This commit is contained in:
parent
11dff38fa6
commit
92371b60c3
1 changed files with 12 additions and 4 deletions
16
quickget
16
quickget
|
@ -147,7 +147,9 @@ function list_csv() {
|
||||||
for RELEASE in $("releases_${FUNC}"); do
|
for RELEASE in $("releases_${FUNC}"); do
|
||||||
if [ "${OS}" == "macos" ]; then
|
if [ "${OS}" == "macos" ]; then
|
||||||
DOWNLOADER="macrecovery"
|
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"
|
DOWNLOADER="zsync"
|
||||||
elif [[ "${OS}" == *"ubuntu"* ]] && [ "${RELEASE}" == "devel" ] && [ ${HAS_ZSYNC} -eq 1 ]; then
|
elif [[ "${OS}" == *"ubuntu"* ]] && [ "${RELEASE}" == "devel" ] && [ ${HAS_ZSYNC} -eq 1 ]; then
|
||||||
DOWNLOADER="zsync"
|
DOWNLOADER="zsync"
|
||||||
|
@ -622,11 +624,12 @@ function releases_ubuntu() {
|
||||||
;
|
;
|
||||||
|
|
||||||
else
|
else
|
||||||
|
# daily-canary \ # seems to have vanished, to be replaced by daily-legacy
|
||||||
echo ${LTS_SUPPORT} \
|
echo ${LTS_SUPPORT} \
|
||||||
${INTERIM_SUPPORT} \
|
${INTERIM_SUPPORT} \
|
||||||
jammy-daily \
|
jammy-daily \
|
||||||
daily-live \
|
daily-live \
|
||||||
daily-canary \
|
daily-legacy \
|
||||||
eol-4.10 \
|
eol-4.10 \
|
||||||
eol-5.04 \
|
eol-5.04 \
|
||||||
eol-5.10 \
|
eol-5.10 \
|
||||||
|
@ -1774,6 +1777,9 @@ function get_ubuntu() {
|
||||||
elif [ "${RELEASE}" == "daily-canary" ] && [ "${OS}" != "ubuntu" ]; then
|
elif [ "${RELEASE}" == "daily-canary" ] && [ "${OS}" != "ubuntu" ]; then
|
||||||
# daily-canary is only available for Ubuntu, switch flavours to daily-live
|
# daily-canary is only available for Ubuntu, switch flavours to daily-live
|
||||||
RELEASE="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
|
fi
|
||||||
|
|
||||||
if [[ "${RELEASE}" == "eol-"* ]]; then
|
if [[ "${RELEASE}" == "eol-"* ]]; then
|
||||||
|
@ -1781,10 +1787,12 @@ function get_ubuntu() {
|
||||||
elif [[ "${RELEASE}" == "jammy-daily" ]]; then
|
elif [[ "${RELEASE}" == "jammy-daily" ]]; then
|
||||||
URL="https://cdimage.ubuntu.com/${OS}/jammy/daily-live/current"
|
URL="https://cdimage.ubuntu.com/${OS}/jammy/daily-live/current"
|
||||||
VM_PATH="${OS}-jammy-live"
|
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
|
elif [[ "${RELEASE}" == *"daily"* ]] || [ "${RELEASE}" == "dvd" ]; then
|
||||||
URL="https://cdimage.ubuntu.com/${OS}/${RELEASE}/current"
|
URL="https://cdimage.ubuntu.com/${OS}/${RELEASE}/current"
|
||||||
VM_PATH="${OS}-daily-live"
|
VM_PATH="${OS}-${RELEASE}"
|
||||||
elif [ "${OS}" == "ubuntu" ]; then
|
elif [ "${OS}" == "ubuntu" ]; then
|
||||||
URL="https://releases.ubuntu.com/${RELEASE}"
|
URL="https://releases.ubuntu.com/${RELEASE}"
|
||||||
else
|
else
|
||||||
|
|
Loading…
Reference in a new issue