diff --git a/scripts/mdot_install.sh b/scripts/mdot_install.sh index 32068a8..b48ce05 100755 --- a/scripts/mdot_install.sh +++ b/scripts/mdot_install.sh @@ -141,7 +141,7 @@ fi # Install global packages. npm set progress=false -if [[ $UPDATE = "YES" ]]; then +if [[ $INSTALL = "YES" ]]; then fancy_echo "${YELLOW}Installing Node Global Packages...${RESET}" npm install -g gulp bower pm2@latest npm-check npm-install-missing ember-cli phantomjs-prebuilt pm2 update @@ -170,6 +170,7 @@ cd $DEV # git pull origin master #fi +if [[ $DATABASE = "YES" ]]; then if [ ! -d "$DEV/$SERVER/.git" ]; then git clone $GIT_SERVER @@ -194,6 +195,8 @@ gulp default rsync -uav --exclude .git --exclude app $DEV/$SERVER/ $STAGING +fi + # fancy_echo "${YELLOW}Copying files to LIVE...${RESET}" # rsync -uav --exclude .git $STAGING/ $LIVE