summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorSilvio Rhatto <rhatto@riseup.net>2011-12-20 17:02:27 -0200
committerSilvio Rhatto <rhatto@riseup.net>2011-12-20 17:02:27 -0200
commit778c2f6d5dac1d1b2bc10fdb43ac5813dc381c82 (patch)
tree6742a95acbc2fc1f4eff920d1772369d5e7b9f8f
parentf52041db0f9ce2c4d2fd081a4805c1c244caf9b4 (diff)
downloadpuppet-wordpress-778c2f6d5dac1d1b2bc10fdb43ac5813dc381c82.tar.gz
puppet-wordpress-778c2f6d5dac1d1b2bc10fdb43ac5813dc381c82.tar.bz2
Syncing uploads
-rw-r--r--templates/wordpress.sh.erb1
1 files changed, 1 insertions, 0 deletions
diff --git a/templates/wordpress.sh.erb b/templates/wordpress.sh.erb
index 513a292..cfcbd9e 100644
--- a/templates/wordpress.sh.erb
+++ b/templates/wordpress.sh.erb
@@ -89,6 +89,7 @@ function wordpress_upgrade {
exclude_themes="--exclude=index.php --exclude=twentytwelve --exclude=twentyeleven --exclude=twentyten"
# Files, Plugins and Themes
+ rsync -av wordpress-$old/wp-content/uploads/ wordpress-$new/wp-content/uploads/
rsync -av wordpress-$old/wp-content/blogs.dir/ wordpress-$new/wp-content/blogs.dir/
rsync -av $exclude_plugins wordpress-$old/wp-content/plugins/ wordpress-$new/wp-content/plugins/
rsync -av $exclude_themes wordpress-$old/wp-content/themes/ wordpress-$new/wp-content/themes/