Commit 10387ca51c20a91172e7627706ee14b01546be1f
1 parent
fb9fc3fc
Exists in
master
and in
89 other branches
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 | 46 | command "RAILS_ENV=production bundle exec rake noosfero:plugins:enable_all_plugins" |
47 | 47 | cwd '/usr/lib/noosfero' |
48 | 48 | user 'noosfero' |
49 | + only_if 'bundle rake -T | grep enable_all_plugins' | |
49 | 50 | end |
50 | 51 | |
51 | 52 | execute 'theme:enable' do | ... | ... |