From d0606906f3ec9b38f52aedade23004c6c0677779 Mon Sep 17 00:00:00 2001 From: bserie Date: Thu, 24 Nov 2016 17:42:11 +0100 Subject: [PATCH] Fix oubli sed dans la section upgrade. --- HowtoGitlab/8.13.md | 8 ++++++-- 1 file changed, 6 insertions(+), 2 deletions(-) diff --git a/HowtoGitlab/8.13.md b/HowtoGitlab/8.13.md index 2b946a6a..5b8815ab 100644 --- a/HowtoGitlab/8.13.md +++ b/HowtoGitlab/8.13.md @@ -413,7 +413,9 @@ $ cd gitlab $ git fetch --all $ git checkout -- Gemfile.lock db/schema.rb $ git checkout v8.13.6 -b v8.13.6 -$ sed -i s'/app_user="git"/app_user="gitlab-demo00"/' lib/support/init.d/gitlab +$ sed -i s'/app_user="git"/app_user="gitlab-demo00"/' \ + -e 's/# Provides: .*gitlab/# Provides: gitlab-demo00/' \ + lib/support/init.d/gitlab $ sed -i 's#script_path = "/etc/init.d/gitlab"#script_path = "/etc/init.d/gitlab-demo00"#g' lib/tasks/gitlab/check.rake $ git commit -a -m 'change default user' ``` @@ -490,7 +492,9 @@ $ bundle exec rake gitlab:backup:create RAILS_ENV=production $ git fetch --all $ git checkout -- db/schema.rb $ git checkout 8-14-stable -$ sed -i s'/app_user="git"/app_user="gitlab-demo00"/' lib/support/init.d/gitlab +$ sed -i s'/app_user="git"/app_user="gitlab-demo00"/' \ + -e 's/# Provides: .*gitlab/# Provides: gitlab-demo00/' \ + lib/support/init.d/gitlab $ sed -i 's#script_path = "/etc/init.d/gitlab"#script_path = "/etc/init.d/gitlab-demo00"#g' lib/tasks/gitlab/check.rake $ git commit -a -m 'change default user' ```