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
|
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
|
||||||
|
|
Loading…
Reference in New Issue