diff options
author | Ben Bodenmiller <bbodenmiller@hotmail.com> | 2014-08-11 22:01:37 -0700 |
---|---|---|
committer | Ben Bodenmiller <bbodenmiller@hotmail.com> | 2014-08-11 22:01:37 -0700 |
commit | aabb4093b7e69cd41e50f674a971b4a113345748 (patch) | |
tree | 125068858b5660d3bf79daa2ff96b36acf32eb85 /doc/update/5.2-to-5.3.md | |
parent | 2600d08f65a8169c6f9414aca6517c828641ec23 (diff) | |
download | gitlab-ce-aabb4093b7e69cd41e50f674a971b4a113345748.tar.gz |
follow curl redirects
Update `curl` commands to follow redirects (see
http://curl.haxx.se/docs/manpage.html#-L). Current `curl` commands will
return unexpected results if the requested content has been moved and is
returning information about where it has been moved to. Including the
`-L` option tells `curl` to follow the redirect so the file can be
correctly acquired.
Diffstat (limited to 'doc/update/5.2-to-5.3.md')
-rw-r--r-- | doc/update/5.2-to-5.3.md | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/doc/update/5.2-to-5.3.md b/doc/update/5.2-to-5.3.md index e39e18d4211..9851f7b2730 100644 --- a/doc/update/5.2-to-5.3.md +++ b/doc/update/5.2-to-5.3.md @@ -50,7 +50,7 @@ sudo -u git -H bundle exec rake assets:precompile RAILS_ENV=production ```bash sudo rm /etc/init.d/gitlab -sudo curl --output /etc/init.d/gitlab https://raw.github.com/gitlabhq/gitlabhq/5-3-stable/lib/support/init.d/gitlab +sudo curl -L --output /etc/init.d/gitlab https://raw.github.com/gitlabhq/gitlabhq/5-3-stable/lib/support/init.d/gitlab sudo chmod +x /etc/init.d/gitlab ``` |