Commit 10387ca51c20a91172e7627706ee14b01546be1f

Authored by Antonio Terceiro
1 parent fb9fc3fc

avoid running rake task before it exists

Showing 1 changed file with 1 additions and 0 deletions   Show diff stats
cookbooks/noosfero/recipes/default.rb
@@ -46,6 +46,7 @@ execute 'plugins:activate' do @@ -46,6 +46,7 @@ execute 'plugins:activate' do
46 command "RAILS_ENV=production bundle exec rake noosfero:plugins:enable_all_plugins" 46 command "RAILS_ENV=production bundle exec rake noosfero:plugins:enable_all_plugins"
47 cwd '/usr/lib/noosfero' 47 cwd '/usr/lib/noosfero'
48 user 'noosfero' 48 user 'noosfero'
  49 + only_if 'bundle rake -T | grep enable_all_plugins'
49 end 50 end
50 51
51 execute 'theme:enable' do 52 execute 'theme:enable' do