Commit 3184bf08 authored by Kamil Trzciński's avatar Kamil Trzciński 🔴

Merge branch 'master' into 'master'

Fix curl command to support redirect

Original command results in an error:

```
> curl https://packages.gitlab.com/install/repositories/runner/gitlab-ci-multi-runner/script.deb | sudo bash
  % Total    % Received % Xferd  Average Speed   Time    Time     Time  Current
                                 Dload  Upload   Total   Spent    Left  Speed
100   158    0   158    0     0    244      0 --:--:-- --:--:-- --:--:--   244
bash: line 1: syntax error near unexpected token `<'
bash: line 1: `<html><body>You are being <a href="https://packages.gitlab.com/install/repositories/runner/gitlab-ci-multi-runner/script.deb.sh">redirected</a>.</body></html>'
```

See merge request !3
parents dfd5b20d d9dc11e4
......@@ -12,10 +12,10 @@ Add GitLab's official repository via apt-get or yum:
```bash
# For Debian/Ubuntu
curl https://packages.gitlab.com/install/repositories/runner/gitlab-ci-multi-runner/script.deb | sudo bash
curl -L https://packages.gitlab.com/install/repositories/runner/gitlab-ci-multi-runner/script.deb | sudo bash
# For CentOS
curl https://packages.gitlab.com/install/repositories/runner/gitlab-ci-multi-runner/script.rpm | sudo bash
curl -L https://packages.gitlab.com/install/repositories/runner/gitlab-ci-multi-runner/script.rpm | sudo bash
```
Install `gitlab-ci-multi-runner`:
......@@ -63,4 +63,4 @@ apt-get install gitlab-ci-multi-runner
# For CentOS
yum update
yum install gitlab-ci-multi-runner
```
```
\ No newline at end of file
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