mirror of
https://github.com/ChrisTitusTech/linutil.git
synced 2024-11-22 05:12:27 +00:00
feat: Include chosen release in 'available editions' text
This commit is contained in:
parent
171871b687
commit
777e82df99
|
@ -169,7 +169,7 @@ get_online_iso() {
|
|||
fi
|
||||
|
||||
if echo "${OS_JSON}" | jq -e '.releases[] | select(.edition != null) | any' >/dev/null; then
|
||||
printf "%b\n" "${YELLOW}Available editions for ${PRETTY_NAME}:${RC}"
|
||||
printf "%b\n" "${YELLOW}Available editions for ${PRETTY_NAME} ${RELEASE}:${RC}"
|
||||
echo "${OS_JSON}" | jq -r '.releases[].edition' | sort -Vur | tr '\n' ' '
|
||||
printf "\n%b" "Select an edition: "
|
||||
read -r EDITION
|
||||
|
|
Loading…
Reference in New Issue
Block a user