Skip install question if every required program is installed
This commit is contained in:
parent
401e427b8e
commit
0b1f8b5c6c
|
@ -329,6 +329,9 @@ function check_has_programs() {
|
|||
|| failed+=("$program")
|
||||
done
|
||||
|
||||
[[ ${#failed[@]} -eq 0 ]] \
|
||||
&& return
|
||||
|
||||
echo "The following programs are required for the installer to work, but are currently missing on your system:" >&2
|
||||
echo " ${failed[@]}" >&2
|
||||
|
||||
|
|
Loading…
Reference in New Issue