From 300e3b4f9c95aa6fe99b06ac4881ca2f28f4f520 Mon Sep 17 00:00:00 2001 From: teldra Date: Mon, 7 Feb 2022 18:14:20 +0100 Subject: [PATCH] progress --- etc/functions | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/etc/functions b/etc/functions index 1f56259..499b2e4 100644 --- a/etc/functions +++ b/etc/functions @@ -122,11 +122,11 @@ yesno() { readin() { WHICH="$1" + header "$WHICH" for i in $(find ./etc/${WHICH}/ -type f); do choice+=("$(basename $i)") done if [ "${#choice[@]}" -gt "1" ]; then - header "$WHICH" multiplechoice "${choice[@]}" elif [ "${#choice[@]}" -eq "1" ]; then output=${choice[0]}