projects
/
contrib
/
pines
/
report-creator.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
cc382df
)
Adding convenience script for updating installed files.
author
Chris Sharp
<csharp@georgialibraries.org>
Wed, 14 Jun 2017 12:12:47 +0000
(08:12 -0400)
committer
Chris Sharp
<csharp@georgialibraries.org>
Mon, 21 Mar 2022 20:51:06 +0000
(16:51 -0400)
update-installed.sh
patch
|
blob
|
history
diff --git
a/update-installed.sh
b/update-installed.sh
index
ac85baf
..
30dd72f
100755
(executable)
--- 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