Skip to content

Commit

Permalink
fix: missing then after elif in utils.sh
Browse files Browse the repository at this point in the history
  • Loading branch information
oddlama committed Jan 4, 2022
1 parent 4ee9059 commit 27f71af
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion scripts/utils.sh
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit 27f71af

Please sign in to comment.