fix variable names

This commit is contained in:
Praveen Arimbrathodiyil 2016-01-23 21:42:31 +05:30
parent c9c8640f27
commit 3c88a26d92
2 changed files with 5 additions and 5 deletions

View file

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

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