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