Skip to content

Commit

Permalink
Don't attempt to install brew for user if missing
Browse files Browse the repository at this point in the history
  • Loading branch information
L1ghtmann committed Jul 29, 2024
1 parent b89e84c commit e579a79
Showing 1 changed file with 2 additions and 7 deletions.
9 changes: 2 additions & 7 deletions src/dragon/shscripts/prerun_checks
Original file line number Diff line number Diff line change
Expand Up @@ -20,13 +20,8 @@ if [[ $PLATFORM == Darwin ]]; then
brew update
brew install ldid
else
read -p "Homebrew, which provides tools Dragon depends on, is not installed. Would you like to have it installed for you? [y/n]" hbrew
if [[ $hbrew == "y" || $hbrew == "Y" || $hbrew == "yes" || $hbrew == "YES" || $hbrew == "Yes" ]] ; then
bash -c "$(curl -fsSL https://raw.githubusercontent.com/Homebrew/install/HEAD/install.sh)" && brew install ldid
else
prefix_print "Homebrew provides tools Dragon depends on and thus is mandatory. Please install Homebrew before proceeding."
drexit 1
fi
prefix_print "Homebrew provides tools Dragon depends on and thus is mandatory. Please install Homebrew before proceeding."
drexit 1
fi
fi
# iOS
Expand Down

0 comments on commit e579a79

Please sign in to comment.