From: Chris Sharp Date: Wed, 14 Jun 2017 12:12:47 +0000 (-0400) Subject: Adding convenience script for updating installed files. X-Git-Url: https://old-git.evergreen-ils.org/?a=commitdiff_plain;h=8c4018e03f210e2f3680def59a4e74300a610e3b;p=contrib%2Fpines%2Freport-creator.git Adding convenience script for updating installed files. --- diff --git a/update-installed.sh b/update-installed.sh index ac85baf..30dd72f 100755 --- a/update-installed.sh +++ b/update-installed.sh @@ -19,6 +19,11 @@ sed -i 's/next.gapines.org/gapines.org/' $GIT_LOCATION/config/production.config. # now copy the git files over to the web dir rsync -auv --exclude="install*.sh" --exclude=".git" "$GIT_LOCATION"/ "$OSRF_WEB_ROOT"/"$REPO_NAME"/ +rsync -auv "$OSRF_WEB_ROOT"/"$REPO_NAME"/ "$PROD_BACKUP"/ +date > "$PROD_BACKUP"/last_sync_date + +# now copy the git files over to the web dir +rsync -auv --exclude="install*.sh" --exclude=".git" "GIT_LOCATION" "$OSRF_WEB_ROOT"/"$REPO_NAME" # and now do the rest of the bricks for i in $BRICK_HEADS; do