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]}