[DRE-commits] [gitlab] 02/02: fix permissions for .gitlab_shell_secret
Praveen Arimbrathodiyil
praveen at moszumanska.debian.org
Mon Dec 25 18:21:46 UTC 2017
This is an automated email from the git hooks/post-receive script.
praveen pushed a commit to branch master
in repository gitlab.
commit 46c7d8d897c85039c75c6d7643b9966c5b79960c
Author: Pirate Praveen <praveen at debian.org>
Date: Mon Dec 25 23:50:56 2017 +0530
fix permissions for .gitlab_shell_secret
---
debian/rake-tasks.sh | 3 ++-
1 file changed, 2 insertions(+), 1 deletion(-)
diff --git a/debian/rake-tasks.sh b/debian/rake-tasks.sh
index 1eb7c32..7762cc5 100755
--- a/debian/rake-tasks.sh
+++ b/debian/rake-tasks.sh
@@ -16,7 +16,8 @@ if [ "$db_relations" = "No relations found." ] || \
test -f ${gitlab_home}/db/schema.rb || \
runuser -u ${gitlab_user} -- sh -c \
"cp ${gitlab_data_dir}/db/schema.rb.template ${gitlab_data_dir}/db/schema.rb"
- touch ${gitlab_data_dir}/.gitlab_shell_secret
+ runuser -u ${gitlab_user} -- sh -c \
+ "touch ${gitlab_data_dir}/.gitlab_shell_secret"
runuser -u ${gitlab_user} -- sh -c 'bundle exec rake db:schema:load'
else
echo "gitlab_production database is not empty, skipping gitlab setup"
--
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