From: Silvio Rhatto Date: Tue, 20 Dec 2011 19:02:27 +0000 (-0200) Subject: Syncing uploads X-Git-Url: https://gitweb.fluxo.info/?a=commitdiff_plain;h=778c2f6d5dac1d1b2bc10fdb43ac5813dc381c82;p=puppet-wordpress.git Syncing uploads --- 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/