From 27f71af0f63ef0cdaf0a62a1850df565098128af Mon Sep 17 00:00:00 2001 From: oddlama Date: Tue, 4 Jan 2022 03:06:40 +0100 Subject: [PATCH] fix: missing then after elif in utils.sh --- scripts/utils.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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