Browse files

closes #27

  • Loading branch information...
1 parent 8467d25 commit a374b1f4dd41421b8f23da82a700c9c1dfd52538 @jjohnson-xx jjohnson-xx committed Nov 27, 2012
Showing with 4 additions and 4 deletions.
  1. +4 −4 lib/ash/wordpress.rb
View
8 lib/ash/wordpress.rb
@@ -61,10 +61,10 @@
# Wordpress-specific methods
# --------------------------------------------
namespace :wordpress do
- desc "Links the correct settings file"
+ desc "Links the correct settings file as well as the uploads and cache directories"
task :symlink, :roles => :web, :except => { :no_release => true } do
- run "ln -nfs #{shared_path}/uploads #{current_release}/#{uploads_path}"
- run "ln -nfs #{shared_path}/cache #{current_release}/wp-content/cache"
+ run "ln -nfs #{shared_path}/uploads #{latest_release}/#{uploads_path}"
+ run "ln -nfs #{shared_path}/cache #{latest_release}/wp-content/cache"
symlink_confg
end
@@ -99,4 +99,4 @@
end
end
-end
+end

0 comments on commit a374b1f

Please sign in to comment.