[DRE-commits] [diaspora] 141/257: run db:create

Praveen Arimbrathodiyil praveen at moszumanska.debian.org
Sun Apr 12 14:17:16 UTC 2015


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

praveen pushed a commit to branch master
in repository diaspora.

commit 2bd78396cdfa828b5aeced92dcfb7cbace5aff35
Author: Praveen Arimbrathodiyil <praveen at debian.org>
Date:   Mon Nov 24 04:39:50 2014 +0530

    run db:create
---
 debian/diaspora.postinst | 1 +
 1 file changed, 1 insertion(+)

diff --git a/debian/diaspora.postinst b/debian/diaspora.postinst
index ff4ad74..cb01e47 100755
--- a/debian/diaspora.postinst
+++ b/debian/diaspora.postinst
@@ -42,6 +42,7 @@ case "$1" in
 	chown -R diaspora: /usr/share/diaspora
 	cd /usr/share/diaspora
 	sudo -u diaspora bundle install --local
+	sudo -u diaspora RAILS_ENV=production DB=postgres bundle exec rake db:create db:schema:load
 
    ;;
 

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



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