Permalink
Browse files

[fix] mongodb,autoinstall: use 64bit package

CHANGELOG Use 64bits package for mongodb autoinstall
  • Loading branch information...
1 parent 6818821 commit dfd328e1d10ead2d79a7c71eee8db8de4078b4b9 @OpaOnWindowsNow OpaOnWindowsNow committed Apr 3, 2012
Showing with 7 additions and 2 deletions.
  1. +7 −2 stdlib/database/mongo/db.opa
@@ -367,13 +367,18 @@ Then use option --db-remote instead of --db-local.
jlog(msg) = Log.notice("DbGen/Mongo", msg)
default_archive =
+ arch = "x86_64" // TODO 32 BITS
+ ver = "2.0.2"
+ os = (
#<Ifstatic:IS_LINUX 1>
- some("mongodb-linux-i686-2.0.2")
+ some("linux")
#<Else>#<Ifstatic:IS_MAC 1>
- some("mongodb-osx-x86_64-2.0.2")
+ some("osx")
#<Else>
none
#<End>#<End>
+ )
+ Option.map(os -> "mongodb-{os}-{arch}-{ver}", os)
default_url =
Option.map(default_archive ->

0 comments on commit dfd328e

Please sign in to comment.