From ec99c93059f220745365f1bdeb6fea36a53e4408 Mon Sep 17 00:00:00 2001 From: Michael Schmatz Date: Mon, 29 Dec 2014 23:20:43 -0500 Subject: [PATCH] Make mongo 2.6 version selection less specific --- bin/coco-mongodb | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/bin/coco-mongodb b/bin/coco-mongodb index 18cd4cda3..a33dc1aa3 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.0","v2.6.1","v2.6.4","v2.6.5"] +allowedMongoVersions = ["v2.6"] if which("mongod") and any(i in subprocess.check_output("mongod --version",shell=True) for i in allowedMongoVersions): mongo_executable = "mongod" else: