From 8c4018e03f210e2f3680def59a4e74300a610e3b Mon Sep 17 00:00:00 2001 From: Chris Sharp Date: Wed, 14 Jun 2017 08:12:47 -0400 Subject: [PATCH] Adding convenience script for updating installed files. --- update-installed.sh | 5 +++++ 1 file changed, 5 insertions(+) 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 -- 2.11.0