Update init script only once

The init script is already being updated in section 6.
This commit is contained in:
Felix Eckhofer 2015-12-09 12:26:18 +01:00
parent 9bfd6c44e2
commit 64eaccf10a
1 changed files with 1 additions and 2 deletions

View File

@ -85,11 +85,10 @@ sudo -u git -H git checkout 0.4.2
sudo -u git -H make
```
Update the GitLab init script and 'default' file.
Update the GitLab 'default' file.
```
cd /home/git/gitlab
sudo cp lib/support/init.d/gitlab /etc/init.d/gitlab
test -e /etc/default/gitlab && \
sudo sed -i.pre-8.2 's/^\([^=]*\)gitlab_git_http_server/\1gitlab_workhorse/' /etc/default/gitlab
```