fix su command argument
This commit is contained in:
parent
86620fda03
commit
6daadc819d
1 changed files with 1 additions and 1 deletions
2
debian/postinst
vendored
2
debian/postinst
vendored
|
@ -39,7 +39,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
|
||||||
su ${gitlab_user} -s /bin/sh -s "mkdir -m 750 ${gitlab_home}/public/uploads"
|
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} -H -s /bin/sh -c 'git config --global core.autocrlf "input"'
|
||||||
cd ${gitlab_home}
|
cd ${gitlab_home}
|
||||||
# Show debconf questions
|
# Show debconf questions
|
||||||
|
|
Loading…
Reference in a new issue