<?xml version="1.0" encoding="UTF-8"?>
<commit>
  <added type="array"/>
  <modified type="array">
    <modified>
      <diff>@@ -1,5 +1,5 @@
 #the domain name for the server you'll be running wordpress on
-set :server, &quot;localhost&quot;
+set :domain, &quot;localhost&quot;
 
 #the name of this wordpress project
 set :application, &quot;wordpress-capistrano-test&quot;
@@ -22,14 +22,27 @@ set :git_enable_submodules, 1
 
 #allow deploys w/o having git installed locally
 set(:real_revision) { capture(&quot;git ls-remote #{repository} #{branch} | cut -f 1&quot;) }
+#no need for system, log, and pids directory
+set :shared_children, %w()
 
-role :app, server
-role :web, server
-role :db,  server, :primary =&gt; true
+role :app, domain
+role :web, domain
+role :db,  domain, :primary =&gt; true
 
 namespace :deploy do
   desc &quot;Override deploy restart to not do anything&quot;
   task :restart do
     #
   end
+end
+
+task :finalize_update, :except =&gt; { :no_release =&gt; true } do
+  run &quot;chmod -R g+w #{latest_release}&quot; if fetch(:group_writable, true)
+  #link the themes, plugins, and config
+  run &lt;&lt;-CMD
+    rm -rf #{latest_release}/wordpress/wp-content/themes #{latest_release}/wordpress/wp-content/plugins &amp;&amp;
+    ln -s #{latest_release}/themes #{latest_release}/wordpress/wp-content/themes &amp;&amp;
+    ln -s #{latest_release}/plugins #{latest_release}/wordpress/wp-content/plugins &amp;&amp;
+    ln -s #{latest_release}/config/wp-config.php #{latest_release}/wordpress/wp-config.php
+  CMD
 end
\ No newline at end of file</diff>
      <filename>config/deploy.rb</filename>
    </modified>
  </modified>
  <removed type="array"/>
  <parents type="array">
    <parent>
      <id>1bc8d51b8e29bdce7a13b20e1f5810410dfe034a</id>
    </parent>
  </parents>
  <author>
    <name>Jesse Newland</name>
    <email>jnewland@gmail.com</email>
  </author>
  <url>http://github.com/jestro/wordpress-capistrano/commit/641bba56b726079f702c59978be38ec5cea651bb</url>
  <id>641bba56b726079f702c59978be38ec5cea651bb</id>
  <committed-date>2008-11-17T17:44:49-08:00</committed-date>
  <authored-date>2008-11-17T17:44:49-08:00</authored-date>
  <message>update capistrano</message>
  <tree>3fcf259eb9e0cd3c4076c3ad5fb27f318f5fb376</tree>
  <committer>
    <name>Jesse Newland</name>
    <email>jnewland@gmail.com</email>
  </committer>
</commit>
