fix: missing then after elif in utils.sh
This commit is contained in:
parent
4ee9059f95
commit
86a3fcab29
@ -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
|
||||
|
Loading…
Reference in New Issue
Block a user