Update install_macos.sh

This commit is contained in:
Mr Chen
2019-03-12 19:05:02 +08:00
parent 0737ce79ac
commit 7c41b490e8
+2 -2
View File
@@ -14,8 +14,6 @@ mkdir -p $DEV/wwwlogs
mkdir -p $DEV/backup/database
mkdir -p $DEV/backup/site
brew install libzip bzip2
# install brew
if [ ! -f /usr/local/bin/brew ];then
/usr/bin/ruby -e "$(curl -fsSL https://raw.githubusercontent.com/Homebrew/install/master/install)"
@@ -23,6 +21,8 @@ if [ ! -f /usr/local/bin/brew ];then
brew install mysql
fi
brew install libzip bzip2 gcc
if [ ! -d $DEV/server/mdserver-web ]; then
wget -O /tmp/master.zip https://codeload.github.com/midoks/mdserver-web/zip/master