|
|
@ -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 |
|
|
|