Commit dda84316bd6b4e2e1d73928cd1512b88521d76eb

Authored by Paulo Tada
1 parent 77901c21
Exists in master and in 1 other branch mezuro_spb

Removing the verification of duplicated noosfero pack

Showing 1 changed file with 0 additions and 7 deletions   Show diff stats
cookbooks/noosfero/recipes/default.rb
... ... @@ -10,13 +10,6 @@ package 'noosfero-deps' do
10 10 notifies :restart, 'service[noosfero]'
11 11 end
12 12  
13   -#Verify if exits more then one noosfero package then remove it
14   -bash 'noosfero remove extra packages' do
15   - code 'rpm -q noosfero | while read line; do rpm -e --noscripts $line; done'
16   - #ignore_failure true
17   - only_if 'a=$(rpm -q noosfero | wc -l);if [ "$a" -gt "1" ] ; then "0"; else "1" ;fi'
18   -end
19   -
20 13 package 'noosfero' do
21 14 action :install
22 15 notifies :restart, 'service[noosfero]'
... ...