aboutsummaryrefslogtreecommitdiffstats
path: root/Library/Formula
diff options
context:
space:
mode:
Diffstat (limited to 'Library/Formula')
-rw-r--r--Library/Formula/nginx.rb8
1 files changed, 7 insertions, 1 deletions
diff --git a/Library/Formula/nginx.rb b/Library/Formula/nginx.rb
index 7de92c28c..dff6628aa 100644
--- a/Library/Formula/nginx.rb
+++ b/Library/Formula/nginx.rb
@@ -3,7 +3,13 @@ require 'formula'
class Nginx < Formula
homepage 'http://nginx.org/'
url 'http://nginx.org/download/nginx-1.0.5.tar.gz'
- md5 '373c7761a7c682b92b164c8ee3d6d243'
+ head 'http://nginx.org/download/nginx-1.1.0.tar.gz'
+
+ unless ARGV.build_head?
+ md5 '373c7761a7c682b92b164c8ee3d6d243'
+ else
+ md5 '3381f34eafc755f935a2d94148500505'
+ end
depends_on 'pcre'