summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-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/