From: Chris Sharp Date: Wed, 14 Jun 2017 12:15:36 +0000 (-0400) Subject: Making the script executable X-Git-Url: https://old-git.evergreen-ils.org/?a=commitdiff_plain;h=3f61ea5da1e776fd42833578d21cec46a0c62d53;p=contrib%2Fpines%2Freport-creator.git Making the script executable --- diff --git a/update-installed.sh b/update-installed.sh index 8fcdac9..fb67676 100755 --- a/update-installed.sh +++ b/update-installed.sh @@ -11,6 +11,7 @@ if [ ! -d "$PROD_BACKUP" ]; then echo "Production backup directory $PROD_BACKUP not found, creating it..." mkdir "$PROD_BACKUP" fi + rsync -auv "$OSRF_WEB_ROOT"/"$REPO_NAME"/ "$PROD_BACKUP"/ date > "$PROD_BACKUP"/last_sync_date @@ -19,11 +20,6 @@ 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