progress
This commit is contained in:
parent
9b1fe24f3d
commit
30dba64dc7
|
@ -66,8 +66,8 @@ multiplechoice() {
|
|||
use+=" ${input[$i]}"
|
||||
fi
|
||||
done
|
||||
while input "[${choices}]: " "${input[1]}"; do
|
||||
for i in $(seq 1 "$(( ${#input[@]} - 1 ))"); do
|
||||
while input "[${choices}]: " "${input[0]}"; do
|
||||
for i in $(seq 0 "${#input[@]}"); do
|
||||
if [[ "${output}" == "${input[$i]}" ]] || [[ "${output}" == "${input[$i]:0:2}" ]]; then
|
||||
echo setconf add "${1}" "${input[$i]}"
|
||||
done=1
|
||||
|
|
Loading…
Reference in New Issue
Block a user