Skip to content

Commit ea2e281

Browse files
authored
Merge pull request #9 from badging/fixes
fixed multiple 'if commands' to solve 'binary' error
2 parents 8481ec7 + 9db691a commit ea2e281

File tree

1 file changed

+2
-4
lines changed

1 file changed

+2
-4
lines changed

install.sh

Lines changed: 2 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -21,8 +21,7 @@ while true; do
2121
echo
2222
break
2323

24-
elif
25-
[[ $system == "Darwin" ]]; then
24+
elif [[ $system == "Darwin" ]]; then
2625
if brew update && brew upgrade && brew install git && brew install gh && brew install curl && brew install node && brew install npm; then
2726
echo
2827
break
@@ -32,9 +31,8 @@ while true; do
3231
echo
3332
break
3433

35-
elif [[ $system == "CYGWIN" || "$(uname)" ==* ]]; then
34+
elif [[ $system == "CYGWIN" || "$(uname)" == * ]]; then
3635
echo "CYGWIN is not yet supported"
37-
else
3836
exit
3937
fi
4038

0 commit comments

Comments
 (0)