mirror of
https://gitea.com/gitea/homebrew-gitea.git
synced 2024-06-02 10:11:26 +05:30
Add -L option for curl to follow redirects
Signed-off-by: Rob Prentiss <rob@prentiss.name>
This commit is contained in:
parent
a16738a8ea
commit
5d204cd8dc
4
gitea.rb
4
gitea.rb
|
@ -6,13 +6,13 @@ class Gitea < Formula
|
||||||
|
|
||||||
stable do
|
stable do
|
||||||
url "http://dl.gitea.io/gitea/1.0.0/gitea-1.0.0-darwin-10.6-amd64"
|
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"
|
version "1.0.0"
|
||||||
end
|
end
|
||||||
|
|
||||||
devel do
|
devel do
|
||||||
url "http://dl.gitea.io/gitea/master/gitea-master-darwin-10.6-amd64"
|
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"
|
version "master"
|
||||||
end
|
end
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue