From 8840cb7d1f9e474d0a55d96f1b369b66c468ee07 Mon Sep 17 00:00:00 2001 From: Popey Gilbert Date: Fri, 17 Apr 2015 17:44:50 +0100 Subject: [PATCH] Update coco-mongodb --- bin/coco-mongodb | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/bin/coco-mongodb b/bin/coco-mongodb index d6aafe9cc..e9e3d78f3 100755 --- a/bin/coco-mongodb +++ b/bin/coco-mongodb @@ -71,7 +71,7 @@ def which(cmd, mode=os.F_OK | os.X_OK, path=None): current_directory = os.path.dirname(os.path.realpath(sys.argv[0])) -allowedMongoVersions = ["v2.6"] +allowedMongoVersions = ["v2.6", "v3.0"] if which("mongod") and any(i in subprocess.check_output("mongod --version",shell=True) for i in allowedMongoVersions): mongo_executable = "mongod" else: