Fix oubli sed dans la section upgrade.
This commit is contained in:
parent
6be804a51d
commit
d0606906f3
|
@ -413,7 +413,9 @@ $ cd gitlab
|
||||||
$ git fetch --all
|
$ git fetch --all
|
||||||
$ git checkout -- Gemfile.lock db/schema.rb
|
$ git checkout -- Gemfile.lock db/schema.rb
|
||||||
$ git checkout v8.13.6 -b v8.13.6
|
$ 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
|
$ 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'
|
$ git commit -a -m 'change default user'
|
||||||
```
|
```
|
||||||
|
@ -490,7 +492,9 @@ $ bundle exec rake gitlab:backup:create RAILS_ENV=production
|
||||||
$ git fetch --all
|
$ git fetch --all
|
||||||
$ git checkout -- db/schema.rb
|
$ git checkout -- db/schema.rb
|
||||||
$ git checkout 8-14-stable
|
$ 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
|
$ 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'
|
$ git commit -a -m 'change default user'
|
||||||
```
|
```
|
||||||
|
|
Loading…
Reference in a new issue