fix: missing then after elif in utils.sh

This commit is contained in:
oddlama 2022-01-04 03:06:40 +01:00
parent 4ee9059f95
commit 27f71af0f6
No known key found for this signature in database
GPG Key ID: 14EFE510775FE39A
1 changed files with 1 additions and 1 deletions

View File

@ -340,7 +340,7 @@ function check_has_programs() {
if [[ -z "$checkfile" ]]; then if [[ -z "$checkfile" ]]; then
type "$program" &>/dev/null \ type "$program" &>/dev/null \
|| failed+=("$program") || failed+=("$program")
elif [[ "${checkfile:0:1}" == "/" ]] elif [[ "${checkfile:0:1}" == "/" ]]; then
[[ -e "$checkfile" ]] \ [[ -e "$checkfile" ]] \
|| failed+=("$program") || failed+=("$program")
else else