projects
/
contrib
/
pines.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
e874b76
)
We need to make a backup before manually editing!
author
Chris Sharp
<csharp@georgialibraries.org>
Fri, 8 Aug 2014 20:31:04 +0000
(16:31 -0400)
committer
Chris Sharp
<csharp@georgialibraries.org>
Fri, 8 Aug 2014 20:31:04 +0000
(16:31 -0400)
update-libips.sh
patch
|
blob
|
history
diff --git
a/update-libips.sh
b/update-libips.sh
index
b9e8349
..
9b6acf2
100755
(executable)
--- a/
update-libips.sh
+++ b/
update-libips.sh
@@
-82,6
+82,8
@@
echo "You will need to restart Apache on all brick heads for the changes to take
}
EditCopy () {
+echo "Backing up the original file..."
+cp $LIB_IPS_TXT $LIB_IPS_TXT.`date +%Y%m%d%H%M%S`
$EDITOR $LIB_IPS_TXT
read -p "Would you like to copy the file to the other brick heads? (y/n) " COPYFILE
if [ "$COPYFILE" = "y" ]; then