Skip to content

Commit 7e73fec

Browse files
ID_LIKE fallback for fiftyone-db (#4903)
* ID_LIKE fallback * bump db
1 parent 739d6b1 commit 7e73fec

File tree

1 file changed

+6
-2
lines changed

1 file changed

+6
-2
lines changed

package/db/setup.py

+6-2
Original file line numberDiff line numberDiff line change
@@ -148,7 +148,11 @@ def _get_linux_download():
148148
# filter empty lines
149149
d = dict(line for line in reader if line)
150150

151-
for k, v in LINUX_DOWNLOADS[d["ID"].lower()].items():
151+
key = d["ID"].lower()
152+
if key not in LINUX_DOWNLOADS:
153+
key = d["ID_LIKE"].lower()
154+
155+
for k, v in LINUX_DOWNLOADS[key].items():
152156
if d["VERSION_ID"].startswith(k):
153157
return v[MACHINE]
154158

@@ -171,7 +175,7 @@ def _get_download():
171175
MONGODB_BINARIES = ["mongod"]
172176

173177

174-
VERSION = "1.1.6"
178+
VERSION = "1.1.7"
175179

176180

177181
def get_version():

0 commit comments

Comments
 (0)