fix git config
This commit is contained in:
parent
e70cf0ab41
commit
c6218be868
1 changed files with 1 additions and 0 deletions
1
debian/postinst
vendored
1
debian/postinst
vendored
|
@ -35,6 +35,7 @@ case "$1" in
|
||||||
chown -R ${gitlab_user}: ${gitlab_data_dir}
|
chown -R ${gitlab_user}: ${gitlab_data_dir}
|
||||||
chown -R ${gitlab_user}: /usr/share/gitlab-shell
|
chown -R ${gitlab_user}: /usr/share/gitlab-shell
|
||||||
sudo -u ${gitlab_user} mkdir -m 750 ${gitlab_home}/public/uploads
|
sudo -u ${gitlab_user} mkdir -m 750 ${gitlab_home}/public/uploads
|
||||||
|
sudo -u ${gitlab_user} -H "/usr/bin/git" config --global core.autocrlf "input"
|
||||||
cd ${gitlab_home}
|
cd ${gitlab_home}
|
||||||
# Show debconf questions
|
# Show debconf questions
|
||||||
. /usr/share/debconf/confmodule
|
. /usr/share/debconf/confmodule
|
||||||
|
|
Loading…
Reference in a new issue