Skip to content

Commit e9cd086

Browse files
committed
refactored code and removed upgrade command
Signed-off-by: kaxada <ekaxada@gmail.com>
1 parent a8dc162 commit e9cd086

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

install.sh

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,7 @@ while true; do
1111
echo -e "\xE2\x9D\x8C please input your password to proceed so that the setup runs successfully"
1212
echo
1313

14-
if sudo apt update && sudo apt upgrade -y && sudo apt install -y git && sudo apt install -y gh && sudo apt install -y curl && sudo apt install -y nodejs && sudo apt install -y npm; then
14+
if sudo apt update && sudo apt install -y git gh curl nodejs npm; then
1515
echo
1616
break
1717
else
@@ -22,7 +22,7 @@ while true; do
2222
break
2323

2424
elif [[ $system == "Darwin" ]]; then
25-
if brew update && brew upgrade && brew install git && brew install gh && brew install curl && brew install node && brew install npm; then
25+
if brew update && brew install git gh curl node npm; then
2626
echo
2727
break
2828
else

0 commit comments

Comments
 (0)