diff --git a/scripts/utils.sh b/scripts/utils.sh index 5d5447a..ae894fa 100644 --- a/scripts/utils.sh +++ b/scripts/utils.sh @@ -340,7 +340,7 @@ function check_has_programs() { if [[ -z "$checkfile" ]]; then type "$program" &>/dev/null \ || failed+=("$program") - elif [[ "${checkfile:0:1}" == "/" ]] + elif [[ "${checkfile:0:1}" == "/" ]]; then [[ -e "$checkfile" ]] \ || failed+=("$program") else