fix: missing then after elif in utils.sh
This commit is contained in:
parent
4ee9059f95
commit
27f71af0f6
|
@ -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