Update macos.sh

pull/504/head
Mr Chen 2 years ago
parent 8a7be7e61c
commit 53e98bd5fe
  1. 3
      scripts/install/macos.sh

@ -15,7 +15,8 @@ mkdir -p $DEV/backup/database
mkdir -p $DEV/backup/site mkdir -p $DEV/backup/site
# install brew # install brew
if [ ! -f /usr/local/bin/brew ];then which brew
if [ "$?" != "0" ];then
/usr/bin/ruby -e "$(curl -fsSL https://raw.githubusercontent.com/Homebrew/install/master/install)" /usr/bin/ruby -e "$(curl -fsSL https://raw.githubusercontent.com/Homebrew/install/master/install)"
brew install python@2 brew install python@2
brew install mysql brew install mysql

Loading…
Cancel
Save