[DRE-commits] [diaspora-installer] 04/12: export variables
Praveen Arimbrathodiyil
praveen at moszumanska.debian.org
Sun Aug 28 05:17:59 UTC 2016
This is an automated email from the git hooks/post-receive script.
praveen pushed a commit to branch master
in repository diaspora-installer.
commit 49584ebc40041e977f5a187dc27182b761b13eca
Author: Praveen Arimbrathodiyil <praveen at debian.org>
Date: Sat Aug 27 23:56:40 2016 +0530
export variables
---
debian/postinst | 4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)
diff --git a/debian/postinst b/debian/postinst
index 134463b..34512a9 100755
--- a/debian/postinst
+++ b/debian/postinst
@@ -60,13 +60,13 @@ case "$1" in
cd ${diaspora_home}
echo "Setting up environment varibales..."
. /usr/lib/diaspora-common/scripts/set-env-diaspora.sh
- echo RAILS_ENV=$RAILS_ENV DB=$DB ENVIRONMENT_URL=$ENVIRONMENT_URL
+ export RAILS_ENV=$RAILS_ENV DB=$DB ENVIRONMENT_URL=$ENVIRONMENT_URL
# Install special case gems
install_gems
echo "Installing gems with rubygems ..."
- sudo -u diaspora -E -H bundle install --path vendor/bundle --without development test
+ su diaspora -c "bundle install --path vendor/bundle --without development test"
echo "Running migrations..."
migrate
--
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