From f2dd6cab62b7e062c339623ba5d42dd59ed1887e Mon Sep 17 00:00:00 2001 From: Thiago Ribeiro Date: Thu, 7 May 2015 11:10:00 -0300 Subject: [PATCH] Add command for run translations. --- cookbooks/noosfero/recipes/default.rb | 4 ++++ 1 file changed, 4 insertions(+), 0 deletions(-) diff --git a/cookbooks/noosfero/recipes/default.rb b/cookbooks/noosfero/recipes/default.rb index 875f156..9b532d4 100644 --- a/cookbooks/noosfero/recipes/default.rb +++ b/cookbooks/noosfero/recipes/default.rb @@ -46,6 +46,10 @@ execute 'theme:enable' do command 'psql -h database -U noosfero --no-align --tuples-only -q -c "update environments set theme=\'noosfero-spb-theme\' where id=1;"' end +execute 'translations:enable' do + command 'rake noosfero:translations:compile --quiet' +end + template '/etc/noosfero/thin.yml' do owner 'root'; group 'root'; mode 0644 notifies :restart, 'service[noosfero]' -- libgit2 0.21.2