[DRE-commits] [redmine] 02/15: postinst: load default data

Antonio Terceiro terceiro at moszumanska.debian.org
Sun Feb 14 14:32:02 UTC 2016


This is an automated email from the git hooks/post-receive script.

terceiro pushed a commit to branch master
in repository redmine.

commit b4a43dae68994b6b96545c0c0da2d7212f34c1b0
Author: Antonio Terceiro <terceiro at debian.org>
Date:   Sat Feb 13 21:13:04 2016 -0200

    postinst: load default data
---
 debian/postinst | 3 +++
 1 file changed, 3 insertions(+)

diff --git a/debian/postinst b/debian/postinst
index 7c7b419..4a609f9 100644
--- a/debian/postinst
+++ b/debian/postinst
@@ -55,6 +55,9 @@ manage_instance() {
 
   cd /usr/share/redmine
   su www-data -s /bin/sh -c "bundle exec rake db:migrate REDMINE_INSTANCE=$instance SCHEMA=/dev/null"
+
+  # FIXME don't harcode language
+  su www-data -s /bin/sh -c "bundle exec rake redmine:load_default_data REDMINE_INSTANCE=$instance REDMINE_LANG=en"
 }
 
 remove_instance() {

-- 
Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/pkg-ruby-extras/redmine.git



More information about the Pkg-ruby-extras-commits mailing list