[DRE-commits] [gitlab] 01/01: -H is only for sudo, not for su

Praveen Arimbrathodiyil praveen at moszumanska.debian.org
Fri Jan 15 18:56:14 UTC 2016


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

praveen pushed a commit to branch master-8.4
in repository gitlab.

commit faa80bdc5f08600b0896284a63acff43b4704d2e
Author: Praveen Arimbrathodiyil <praveen at debian.org>
Date:   Sat Jan 16 00:25:48 2016 +0530

    -H is only for sudo, not for su
---
 debian/postinst | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/debian/postinst b/debian/postinst
index 8b2db35..5200f3f 100755
--- a/debian/postinst
+++ b/debian/postinst
@@ -40,7 +40,7 @@ case "$1" in
 
 	chown -R ${gitlab_user}: /usr/share/gitlab-shell
 	su ${gitlab_user} -s /bin/sh -c "mkdir -m 750 ${gitlab_home}/public/uploads"
-	su ${gitlab_user} -H -s /bin/sh -c 'git config --global core.autocrlf "input"'
+	su ${gitlab_user} -s /bin/sh -c 'git config --global core.autocrlf "input"'
 	cd ${gitlab_home}
 	# Show debconf questions
         . /usr/share/debconf/confmodule

-- 
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