-H is only for sudo, not for su

This commit is contained in:
Praveen Arimbrathodiyil 2016-01-16 00:25:48 +05:30
parent 6daadc819d
commit faa80bdc5f

2
debian/postinst vendored
View file

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