Add -L option for curl to follow redirects

Signed-off-by: Rob Prentiss <rob@prentiss.name>
This commit is contained in:
Rob Prentiss 2017-01-06 11:06:57 -08:00
parent a16738a8ea
commit 5d204cd8dc
1 changed files with 2 additions and 2 deletions

View File

@ -6,13 +6,13 @@ class Gitea < Formula
stable do
url "http://dl.gitea.io/gitea/1.0.0/gitea-1.0.0-darwin-10.6-amd64"
sha256 `curl -s http://dl.gitea.io/gitea/1.0.0/gitea-1.0.0-darwin-10.6-amd64.sha256`.split(" ").first
sha256 `curl -Ls http://dl.gitea.io/gitea/1.0.0/gitea-1.0.0-darwin-10.6-amd64.sha256`.split(" ").first
version "1.0.0"
end
devel do
url "http://dl.gitea.io/gitea/master/gitea-master-darwin-10.6-amd64"
sha256 `curl -s http://dl.gitea.io/gitea/master/gitea-master-darwin-10.6-amd64.sha256`.split(" ").first
sha256 `curl -Ls http://dl.gitea.io/gitea/master/gitea-master-darwin-10.6-amd64.sha256`.split(" ").first
version "master"
end