Commit bc89c4f8 authored by Jacob Vosmaer's avatar Jacob Vosmaer

Make sed command GNU-compatible

parent 6119b872
...@@ -90,7 +90,7 @@ Update the GitLab init script and 'default' file. ...@@ -90,7 +90,7 @@ Update the GitLab init script and 'default' file.
cd /home/git/gitlab cd /home/git/gitlab
sudo cp lib/support/init.d/gitlab /etc/init.d/gitlab sudo cp lib/support/init.d/gitlab /etc/init.d/gitlab
test -e /etc/default/gitlab && \ test -e /etc/default/gitlab && \
sudo sed -i .pre-8.2 's/^\([^=]*\)gitlab_git_http_server/\1gitlab_workhorse/' /etc/default/gitlab sudo sed -i.pre-8.2 's/^\([^=]*\)gitlab_git_http_server/\1gitlab_workhorse/' /etc/default/gitlab
``` ```
Make sure that you also update your **NGINX configuration** to use Make sure that you also update your **NGINX configuration** to use
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment