progress
This commit is contained in:
parent
b8e78b9c59
commit
300e3b4f9c
|
@ -122,11 +122,11 @@ yesno() {
|
||||||
|
|
||||||
readin() {
|
readin() {
|
||||||
WHICH="$1"
|
WHICH="$1"
|
||||||
|
header "$WHICH"
|
||||||
for i in $(find ./etc/${WHICH}/ -type f); do
|
for i in $(find ./etc/${WHICH}/ -type f); do
|
||||||
choice+=("$(basename $i)")
|
choice+=("$(basename $i)")
|
||||||
done
|
done
|
||||||
if [ "${#choice[@]}" -gt "1" ]; then
|
if [ "${#choice[@]}" -gt "1" ]; then
|
||||||
header "$WHICH"
|
|
||||||
multiplechoice "${choice[@]}"
|
multiplechoice "${choice[@]}"
|
||||||
elif [ "${#choice[@]}" -eq "1" ]; then
|
elif [ "${#choice[@]}" -eq "1" ]; then
|
||||||
output=${choice[0]}
|
output=${choice[0]}
|
||||||
|
|
Loading…
Reference in New Issue