[DRE-commits] [gitlab] 01/01: fix permissions for .gitlab_shell_secret

Praveen Arimbrathodiyil praveen at moszumanska.debian.org
Tue Dec 26 14:54:14 UTC 2017


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

praveen pushed a commit to branch syslibs
in repository gitlab.

commit 38af788a1b49d1b182b7707257acea361122b111
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 4330d62..ba6d4a7 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