Commit ef26f8a0e3eb5f08dcdf2002b6df80af49cad7d9

Authored by Gabriela Navarro
1 parent b397763e

Fix the only_if condition for rake task in enable_all plugins

We changed the -T for -P flag in order to show all tasks and not only
the ones with description

Signed-off-by: Arthur Del Esposte <arthurmde@gmail.com>
Signed-off-by: Gabriela Navarro <navarro1703@gmail.com>
Showing 1 changed file with 1 additions and 1 deletions   Show diff stats
cookbooks/noosfero/recipes/default.rb
... ... @@ -46,7 +46,7 @@ execute &#39;plugins:activate&#39; do
46 46 command "RAILS_ENV=production bundle exec rake noosfero:plugins:enable_all"
47 47 cwd '/usr/lib/noosfero'
48 48 user 'noosfero'
49   - only_if 'bundle rake -T | grep enable_all'
  49 + only_if 'bundle exec rake -P | grep enable_all'
50 50 end
51 51  
52 52 execute 'theme:enable' do
... ...