progress
This commit is contained in:
parent
b8e78b9c59
commit
300e3b4f9c
|
@ -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]}
|
||||
|
|
Loading…
Reference in New Issue
Block a user