aboutsummaryrefslogtreecommitdiffstats
path: root/Library/Formula
diff options
context:
space:
mode:
Diffstat (limited to 'Library/Formula')
-rw-r--r--Library/Formula/mongodb.rb8
1 files changed, 7 insertions, 1 deletions
diff --git a/Library/Formula/mongodb.rb b/Library/Formula/mongodb.rb
index 3d0a12bdb..4d149afb2 100644
--- a/Library/Formula/mongodb.rb
+++ b/Library/Formula/mongodb.rb
@@ -3,12 +3,18 @@ require 'formula'
class Mongodb <Formula
homepage 'http://www.mongodb.org/'
- if Hardware.is_64_bit?
+ if Hardware.is_64_bit? and not ARGV.include? '--32bit'
url 'http://downloads.mongodb.org/osx/mongodb-osx-x86_64-1.1.2.tgz'
md5 '7fdcd8173fa975295b961e760eed1751'
+ version '1.1.2-x86_64'
else
url 'http://downloads.mongodb.org/osx/mongodb-osx-i386-1.1.2.tgz'
md5 '0e10467e2a0877d189e4d4c0783ebc4b'
+ version '1.1.2-i386'
+ end
+
+ def skip_clean? path
+ true
end
def install