From 7c41b490e834c646d13a276b50b593ae019b08a2 Mon Sep 17 00:00:00 2001 From: Mr Chen Date: Tue, 12 Mar 2019 19:05:02 +0800 Subject: [PATCH] Update install_macos.sh --- scripts/install_macos.sh | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/scripts/install_macos.sh b/scripts/install_macos.sh index 95a585eea..0692f2baf 100755 --- a/scripts/install_macos.sh +++ b/scripts/install_macos.sh @@ -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