File tree Expand file tree Collapse file tree 1 file changed +3
-5
lines changed
Expand file tree Collapse file tree 1 file changed +3
-5
lines changed Original file line number Diff line number Diff line change @@ -4,10 +4,8 @@ set -euxo pipefail #exit in case of errors
44# install dependencies
55while true ; do
66 echo -e ' \e[91mPLEASE INPUT SUDO PASSWORD WHEN PROMPTED OTHERWISE TERMINAL WILL CLOSE SCRIPT\e[39m'
7-
8- os=$( uname)
97
10- if [[ ' $os ' == ' Linux' ]]; then
8+ if [[ ' $(uname) ' == ' Linux' ]]; then
119 echo -e " \xE2\x9D\x8C please input your password to proceed so that the setup runs successfully"
1210 echo
1311
@@ -22,7 +20,7 @@ while true; do
2220 break
2321
2422 elif
25- [[ ' $os ' == ' Darwin' ]]; then
23+ [[ ' $(uname) ' == ' Darwin' ]]; then
2624 if brew update && brew upgrade && brew install git && brew install gh && brew install curl && brew install node && brew install npm; then
2725 echo
2826 break
@@ -32,7 +30,7 @@ while true; do
3230 echo
3331 break
3432
35- elif [[ ' $os ' == ' CYGWIN' || ' os' == * ]]; then
33+ elif [[ ' $(uname) ' == ' CYGWIN' || ' os' == * ]]; then
3634 echo " CYGWIN is not yet supported"
3735 else
3836 exit
You can’t perform that action at this time.
0 commit comments