<?xml version="1.0" encoding="UTF-8"?>
<commit>
  <added type="array"/>
  <modified type="array">
    <modified>
      <diff>@@ -29,12 +29,12 @@ namespace :deploy do
     yml = render_erb_template(File.dirname(__FILE__) + '/templates/database.yml')
     put yml, &quot;#{shared_path}/config/database.yml&quot;
   end
+  
+  task :after_update_code do
+    rb = render_erb_template(File.dirname(__FILE__) + '/templates/links.rb')
+    put rb, &quot;#{release_path}/config/initializers/links.rb&quot;
+    run &quot;cp -r #{release_path}/public/* #{shared_path}/public/&quot;
+    run &quot;ln -sf #{shared_path}/config/database.yml #{release_path}/config/database.yml&quot;
+  end
 
 end
-
-task :after_deploy do
-  rb = render_erb_template(File.dirname(__FILE__) + '/templates/links.rb')
-  put rb, &quot;#{release_path}/config/initializers/links.rb&quot;
-  run &quot;cp -r #{release_path}/public/* #{shared_path}/public/&quot;
-  run &quot;ln -sf #{shared_path}/config/database.yml #{release_path}/config/database.yml&quot;
-end</diff>
      <filename>lib/recipes/setup.rb</filename>
    </modified>
  </modified>
  <removed type="array"/>
  <parents type="array">
    <parent>
      <id>a8528c95224e2278ed40277f1de52c8e381130be</id>
    </parent>
  </parents>
  <author>
    <name>Tim Morgan</name>
    <email>tim@timmorgan.org</email>
  </author>
  <url>http://github.com/seven1m/onebody/commit/fdea32d9a4414b465c24db4abbf674b9b9aba402</url>
  <id>fdea32d9a4414b465c24db4abbf674b9b9aba402</id>
  <committed-date>2008-08-17T20:04:59-07:00</committed-date>
  <authored-date>2008-08-17T20:04:59-07:00</authored-date>
  <message>Change after_deploy task to follow after update_code instead.</message>
  <tree>71fcddb3a3eedce717f01a8178f86f9bfe57c074</tree>
  <committer>
    <name>Tim Morgan</name>
    <email>tim@timmorgan.org</email>
  </committer>
</commit>
