diff --git a/install.sh b/install.sh index 7313a6e..7de3f31 100755 --- a/install.sh +++ b/install.sh @@ -162,6 +162,9 @@ collect_modules() { } collect_all_interactive() { + exec 3>&1 + exec 1>&2 + local modules=() if ((OMERON_FRESH_INSTALL)); then modules=("${FRESH_MODULES[@]}") @@ -196,7 +199,7 @@ collect_all_interactive() { fi fi - if tui_confirm "Run this step?"; then + if tui_confirm "${description:-$mod}?"; then module_order+=("$module_file") else log_info "Skipped" @@ -204,7 +207,8 @@ collect_all_interactive() { ((idx++)) done - printf '%s\n' "${module_order[@]}" + printf '%s\n' "${module_order[@]}" >&3 + exec 3>&- } show_banner() {