fix(quickget): add daily-live to ubuntu-server

This commit is contained in:
Martin Wimpress 2024-05-07 00:24:04 +01:00 committed by Martin Wimpress
parent bad6ad7cd7
commit ffbace0f4a
1 changed files with 3 additions and 2 deletions

View File

@ -1151,8 +1151,9 @@ function releases_ubuntu() {
}
function releases_ubuntu-server() {
local ALL_VERSIONS=($(IFS=$'\n' web_pipe http://releases.ubuntu.com/streams/v1/com.ubuntu.releases:ubuntu-server.json | jq -r '.products[] | select(.arch=="amd64") | .version' | sort -rV))
echo "${ALL_VERSIONS[@]}"
local ALL_VERSIONS=()
ALL_VERSIONS=($(IFS=$'\n' web_pipe http://releases.ubuntu.com/streams/v1/com.ubuntu.releases:ubuntu-server.json | jq -r '.products[] | select(.arch=="amd64") | .version' | sort -rV))
echo daily-live "${ALL_VERSIONS[@]}"
}
function releases_vanillaos() {