Fix regression in the case of a missing release - closes #1049

This commit is contained in:
Liam 2024-04-16 16:11:15 -07:00 committed by Martin Wimpress
parent dc81b8c2b3
commit 7e3515aa06
1 changed files with 2 additions and 3 deletions

View File

@ -3872,12 +3872,11 @@ os_error_release() {
"languages_${OS}" && echo "${LANGS[@]}" "languages_${OS}" && echo "${LANGS[@]}"
;; ;;
*) *)
echo -n " - Releases: "
"releases_${OS}" | fold -s -w "$(tput cols)"
if [[ $(type -t "editions_${OS}") == function ]]; then if [[ $(type -t "editions_${OS}") == function ]]; then
echo -n ' - Editions: ' echo -n ' - Editions: '
"editions_${OS}" "editions_${OS}"
else
echo -n " - Releases: "
"releases_${OS}" | fold -s -w "$(tput cols)"
fi fi
;; ;;
esac esac