File tree Expand file tree Collapse file tree 1 file changed +3
-3
lines changed
Expand file tree Collapse file tree 1 file changed +3
-3
lines changed Original file line number Diff line number Diff line change @@ -5,7 +5,7 @@ set -euxo pipefail #exit in case of errors
55while 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
You can’t perform that action at this time.
0 commit comments