[DRE-commits] [gitlab] 03/10: use su
Praveen Arimbrathodiyil
praveen at moszumanska.debian.org
Thu Oct 1 04:57:08 UTC 2015
This is an automated email from the git hooks/post-receive script.
praveen pushed a commit to branch master
in repository gitlab.
commit 546fee6c1664a528f3ebc8dea3b242219d409b9a
Author: Praveen Arimbrathodiyil <praveen at debian.org>
Date: Wed Sep 30 21:01:43 2015 +0530
use su
---
debian/postinst | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/debian/postinst b/debian/postinst
index e8d57d2..98db82d 100755
--- a/debian/postinst
+++ b/debian/postinst
@@ -39,7 +39,7 @@ case "$1" in
export DB=postgres
echo "Verifying we have all required libraries..."
- sudo -u diaspora -E bundle install --local
+ su ${gitlab_user} -s /bin/sh -c 'bundle install --local'
echo "Running final rake tasks..."
# Move these to rails-common
--
Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/pkg-ruby-extras/gitlab.git
More information about the Pkg-ruby-extras-commits
mailing list