[DRE-commits] [diaspora-installer] 02/03: run bundle install and assets:precompile (update)
Praveen Arimbrathodiyil
praveen at moszumanska.debian.org
Tue May 19 13:29:47 UTC 2015
This is an automated email from the git hooks/post-receive script.
praveen pushed a commit to branch master
in repository diaspora-installer.
commit cb718bc2532ffe0ffd96a71801e2de425fefddae
Author: Praveen Arimbrathodiyil <praveen at debian.org>
Date: Fri May 15 09:42:25 2015 +0530
run bundle install and assets:precompile (update)
---
debian/postinst | 2 ++
1 file changed, 2 insertions(+)
diff --git a/debian/postinst b/debian/postinst
index 7537886..71c38d6 100755
--- a/debian/postinst
+++ b/debian/postinst
@@ -43,7 +43,9 @@ case "$1" in
# source diaspora variables
. ${diaspora_conf}
+ su diaspora -s /bin/sh -c 'bundle install --without development test'
su diaspora -s /bin/sh -c 'bundle exec rake db:migrate'
+ su diaspora -s /bin/sh -c 'bundle exec rake assets:precompile'
else
echo "This version is already installed..."
fi
--
Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/pkg-ruby-extras/diaspora-installer.git
More information about the Pkg-ruby-extras-commits
mailing list