[DRE-commits] [gitlab] 10/10: use gitlab_data_dir variable instead of gitlab_home

Praveen Arimbrathodiyil praveen at moszumanska.debian.org
Sat Oct 1 12:47:19 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 a04ef9fcd02dcbb62ff81572abb8adecf5ea5bb1
Author: Praveen Arimbrathodiyil <praveen at debian.org>
Date:   Sat Oct 1 16:37:22 2016 +0530

    use gitlab_data_dir variable instead of gitlab_home
---
 debian/rake-tasks.sh | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/debian/rake-tasks.sh b/debian/rake-tasks.sh
index 96982bf..9463196 100755
--- a/debian/rake-tasks.sh
+++ b/debian/rake-tasks.sh
@@ -13,7 +13,7 @@ if [ "$(LANG=C su postgres -c "psql gitlab_production -c \"\d\"")" = \
   echo "Initializing database..."
   test -f ${gitlab_home}/db/schema.rb || \
   su ${gitlab_user} -s /bin/sh -c\
-  "cp ${gitlab_home}/db/schema.rb.template ${gitlab_home}/db/schema.rb"
+  "cp ${gitlab_data_dir}/db/schema.rb.template ${gitlab_data_dir}/db/schema.rb"
   su ${gitlab_user} -s /bin/sh -c 'bundle exec rake db:schema:load'
   su ${gitlab_user} -s /bin/sh -c 'bundle exec rake db:seed_fu'
 else

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