namespace :fishpig do
namespace :setup do desc "Install the Wordpress Fishpig theme" task :install_theme do on roles :all do |host| within release_path do execute :mkdir, "-p", "#{release_path}/magento/wp/wp-content/themes/fishpig" end end on roles(:all) do execute :sudo, 'cp', '-a', "#{release_path}/environments/global/wp/wp-content/themes/fishpig/.", "#{release_path}/magento/wp/wp-content/themes/fishpig/" end end end
end