lib/ash/drupal.rb in capistrano-ash-1.1.0 vs lib/ash/drupal.rb in capistrano-ash-1.1.1
- old
+ new
@@ -30,14 +30,12 @@
# --------------------------------------------
namespace :deploy do
desc "Setup shared application directories and permissions after initial setup"
task :setup_shared, :roles => :web do
# remove Capistrano specific directories
- run<<-CMD
- rm -Rf #{shared_path}/log &&
- rm -Rf #{shared_path}/pids &&
- rm -Rf #{shared_path}/system
- CMD
+ run "rm -Rf #{shared_path}/log"
+ run "rm -Rf #{shared_path}/pids"
+ run "rm -Rf #{shared_path}/system"
# create shared directories
multisites.each_pair do |folder, url|
run "mkdir -p #{shared_path}/#{url}/files"
end