This commit is contained in:
teldra 2022-02-07 18:14:20 +01:00
parent b8e78b9c59
commit 300e3b4f9c
1 changed files with 1 additions and 1 deletions

View File

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