Show release support status in menu for expert mode

This commit is contained in:
Igor Pecovnik 2019-12-13 20:48:06 +01:00
parent 82e5a27026
commit 5450c4ea3b

View file

@ -412,7 +412,9 @@ function distro_menu ()
if [[ "${distro_support[$i]}" != "supported" && $EXPERT != "yes" ]]; then
:
else
options+=("$i" "${distro_name[$i]}")
local text=""
[[ $EXPERT == "yes" ]] && local text="(${distro_support[$i]})"
options+=("$i" "${distro_name[$i]} $text")
fi
DISTRIBUTION_STATUS=${distro_support[$i]}
break