Skip install question if every required program is installed

This commit is contained in:
oddlama 2021-05-29 22:16:05 +02:00
parent 401e427b8e
commit 0b1f8b5c6c
No known key found for this signature in database
GPG Key ID: 14EFE510775FE39A
1 changed files with 3 additions and 0 deletions

View File

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