From 5450c4ea3b6d30b3deda294e345db5b58d352dfa Mon Sep 17 00:00:00 2001 From: Igor Pecovnik Date: Fri, 13 Dec 2019 20:48:06 +0100 Subject: [PATCH] Show release support status in menu for expert mode --- lib/general.sh | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/lib/general.sh b/lib/general.sh index 982e8d41d5..4f8217c141 100644 --- a/lib/general.sh +++ b/lib/general.sh @@ -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