From ec030524b270d0a7021962f3540eac24f119e46b Mon Sep 17 00:00:00 2001 From: "duncan.parkes@gmail.com" Date: Fri, 16 Jul 2010 11:34:45 +0000 Subject: [PATCH] Make the deployment script replace the backup.gz file. --- trunk/deployment_script_common | 9 +++++++++ 1 file changed, 9 insertions(+) diff --git a/trunk/deployment_script_common b/trunk/deployment_script_common index 537abbd..b1c988f 100644 --- a/trunk/deployment_script_common +++ b/trunk/deployment_script_common @@ -76,6 +76,15 @@ if [ -a $BACKUP_DIRECTORY/docs/.htaccess ]; echo "No .htaccess to put back"; fi; +# Copy the backup.gz file back to docs + +if [ -a $BACKUP_DIRECTORY/docs/backup.gz ]; + then + echo "Copying back backup.gz"; + cp $BACKUP_DIRECTORY/docs/backup.gz $PLANNING_ROOT/docs/; + else + echo "No backup.gz to put back"; +fi; # Now make all the files group writable echo "Making the planningalerts root directory group writable."