aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorMike McQuaid2013-10-23 17:45:14 +0100
committerMike McQuaid2013-10-23 17:45:14 +0100
commite726b151565278a2cadb3e524f572007247208a5 (patch)
treeb0cf648535a56f1ac07d76ca084e5819bb7a178b
parent9fa87d69a50007efc34e539133d63cc7a37f13f2 (diff)
downloadhomebrew-e726b151565278a2cadb3e524f572007247208a5.tar.bz2
mongodb: use 2.5.3 by default on Mavericks.
-rw-r--r--Library/Formula/mongodb.rb13
1 files changed, 9 insertions, 4 deletions
diff --git a/Library/Formula/mongodb.rb b/Library/Formula/mongodb.rb
index b0ac3b977..01a8cdc49 100644
--- a/Library/Formula/mongodb.rb
+++ b/Library/Formula/mongodb.rb
@@ -2,12 +2,17 @@ require 'formula'
class Mongodb < Formula
homepage 'http://www.mongodb.org/'
- url 'http://downloads.mongodb.org/src/mongodb-src-r2.4.7.tar.gz'
- sha1 'abef63992fe12e4e68a7d9de01d8d8eaa8705c9a'
-
- devel do
+ if MacOS.version >= :mavericks
url 'http://downloads.mongodb.org/src/mongodb-src-r2.5.3.tar.gz'
sha1 '8fbd7f6f2a55092ae0e461ee0f5a4a7f738d40c9'
+ else
+ url 'http://downloads.mongodb.org/src/mongodb-src-r2.4.7.tar.gz'
+ sha1 'abef63992fe12e4e68a7d9de01d8d8eaa8705c9a'
+
+ devel do
+ url 'http://downloads.mongodb.org/src/mongodb-src-r2.5.3.tar.gz'
+ sha1 '8fbd7f6f2a55092ae0e461ee0f5a4a7f738d40c9'
+ end
end
head 'https://github.com/mongodb/mongo.git'