[DRE-commits] [gitlab] 02/02: fix variable names

Praveen Arimbrathodiyil praveen at moszumanska.debian.org
Sat Jan 23 16:42:05 UTC 2016


This is an automated email from the git hooks/post-receive script.

praveen pushed a commit to branch master
in repository gitlab.

commit 3c88a26d92a6bbc1d9e49fd60ab9ddc1c39175fa
Author: Praveen Arimbrathodiyil <praveen at debian.org>
Date:   Sat Jan 23 21:42:31 2016 +0530

    fix variable names
---
 debian/conf/gitlab-debian.conf | 4 ++--
 debian/postinst                | 6 +++---
 2 files changed, 5 insertions(+), 5 deletions(-)

diff --git a/debian/conf/gitlab-debian.conf b/debian/conf/gitlab-debian.conf
index 8a42b61..b18291a 100644
--- a/debian/conf/gitlab-debian.conf
+++ b/debian/conf/gitlab-debian.conf
@@ -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
diff --git a/debian/postinst b/debian/postinst
index 5ddbd2d..3ff8104 100755
--- a/debian/postinst
+++ b/debian/postinst
@@ -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}

-- 
Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/pkg-ruby-extras/gitlab.git



More information about the Pkg-ruby-extras-commits mailing list