From 0ace585ab7f6a598bdb4fa76f029cce2c6e7cbd6 Mon Sep 17 00:00:00 2001 From: Martin Donnelly Date: Mon, 26 Sep 2016 14:28:50 +0100 Subject: [PATCH] update --- scripts/mdot_install.sh | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) 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