aboutsummaryrefslogtreecommitdiffstats
path: root/Library/Formula
diff options
context:
space:
mode:
Diffstat (limited to 'Library/Formula')
-rw-r--r--Library/Formula/nginx.rb7
1 files changed, 6 insertions, 1 deletions
diff --git a/Library/Formula/nginx.rb b/Library/Formula/nginx.rb
index 79dfcf1b8..bb491ca22 100644
--- a/Library/Formula/nginx.rb
+++ b/Library/Formula/nginx.rb
@@ -2,9 +2,14 @@ require 'formula'
class Nginx < Formula
url 'http://nginx.org/download/nginx-0.8.54.tar.gz'
+ head 'http://nginx.org/download/nginx-0.9.4.tar.gz'
homepage 'http://nginx.org/'
- md5 '44df4eb6a22d725021288c570789046f'
+ if ARGV.include? '--HEAD'
+ @md5='055eb48433ec5ab5f25c5d186144e461'
+ else
+ @md5='44df4eb6a22d725021288c570789046f'
+ end
depends_on 'pcre'