summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorSilvio Rhatto <rhatto@riseup.net>2013-07-02 17:17:17 -0300
committerSilvio Rhatto <rhatto@riseup.net>2013-07-02 17:17:17 -0300
commitd37d569fbfa16cf8f8a7f29372f25ed4b7b595d0 (patch)
treeb7daa835e9629d0a7826d7d6db31b273d04dff30
parentb5393a397bd8f8cef53dad2436561cbbf23dbd0e (diff)
downloadpuppet-wordpress-d37d569fbfa16cf8f8a7f29372f25ed4b7b595d0.tar.gz
puppet-wordpress-d37d569fbfa16cf8f8a7f29372f25ed4b7b595d0.tar.bz2
Backing up with hardlinks
-rw-r--r--templates/wordpress.sh.erb2
1 files changed, 1 insertions, 1 deletions
diff --git a/templates/wordpress.sh.erb b/templates/wordpress.sh.erb
index c17d81b..052543c 100644
--- a/templates/wordpress.sh.erb
+++ b/templates/wordpress.sh.erb
@@ -67,7 +67,7 @@ function wordpress_upgrade {
exit
fi
- cp -a wordpress-$old wordpress-$old.backup
+ cp -alf wordpress-$old wordpress-$old.backup
# Deploy a fresh wordpress tree
wordpress_deploy $new