Skip to content

Commit 5cdb3f0

Browse files
authored
Update install.sh
1 parent 6d04278 commit 5cdb3f0

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

install.sh

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@ set -euxo pipefail #exit in case of errors
55
while true; do
66
echo -e '\e[91mPLEASE INPUT SUDO PASSWORD WHEN PROMPTED OTHERWISE TERMINAL WILL CLOSE SCRIPT\e[39m'
77

8-
if [ "$(uname)" == "Linux" ]; then
8+
if [[ "$(uname)" == "Linux" ]]; then
99
echo -e "\xE2\x9D\x8C please input your password to proceed so that the setup runs successfully"
1010
echo
1111

@@ -20,7 +20,7 @@ while true; do
2020
break
2121

2222
elif
23-
[ "$(uname)" == "Darwin" ]; then
23+
[[ "$(uname)" == "Darwin" ]]; then
2424
if brew update && brew upgrade && brew install git && brew install gh && brew install curl && brew install node && brew install npm; then
2525
echo
2626
break
@@ -30,7 +30,7 @@ while true; do
3030
echo
3131
break
3232

33-
elif [ "$(uname)" == "CYGWIN" || "$(uname)" ==* ]; then
33+
elif [[ "$(uname)" == "CYGWIN" || "$(uname)" ==* ]]; then
3434
echo "CYGWIN is not yet supported"
3535
else
3636
exit

0 commit comments

Comments
 (0)