fix variable names
This commit is contained in:
parent
c9c8640f27
commit
3c88a26d92
2 changed files with 5 additions and 5 deletions
4
debian/conf/gitlab-debian.conf
vendored
4
debian/conf/gitlab-debian.conf
vendored
|
@ -7,5 +7,5 @@ export gitlab_data_dir=/var/lib/gitlab
|
|||
export gitlab_scripts=/usr/lib/gitlab/scripts
|
||||
export gitlab_nginx_log=/var/log/gitlab
|
||||
export gitlab_ssl_path=/etc/gitlab/ssl
|
||||
export gitlab-shell_root=/usr/share/gitlab-shell
|
||||
export gitlab-shell_log=/var/log/gitlab-shell
|
||||
export gitlab_shell_root=/usr/share/gitlab-shell
|
||||
export gitlab_shell_log=/var/log/gitlab-shell
|
||||
|
|
6
debian/postinst
vendored
6
debian/postinst
vendored
|
@ -38,9 +38,9 @@ case "$1" in
|
|||
chown -R ${gitlab_user}: ${gitlab_home}
|
||||
chown -R ${gitlab_user}: ${gitlab_data_dir}
|
||||
|
||||
mkdir -p ${gitlab-shell_log}
|
||||
chown -R ${gitlab_user}: ${gitlab-shell_root}
|
||||
chown -R ${gitlab_user}: ${gitlab-shell_log}
|
||||
mkdir -p ${gitlab_shell_log}
|
||||
chown -R ${gitlab_user}: ${gitlab_shell_root}
|
||||
chown -R ${gitlab_user}: ${gitlab_shell_log}
|
||||
su ${gitlab_user} -s /bin/sh -c "mkdir -p -m 750 ${gitlab_home}/public/uploads"
|
||||
su ${gitlab_user} -s /bin/sh -c 'git config --global core.autocrlf "input"'
|
||||
cd ${gitlab_home}
|
||||
|
|
Loading…
Reference in a new issue