Update index.py

pull/634/head
Mr Chen 5 months ago
parent ab606e0629
commit e18ae543ee
  1. 4
      plugins/gorse/index.py

@ -312,6 +312,10 @@ def installPreInspection():
mongodb_path = mw.getServerDir() + "/mongodb" mongodb_path = mw.getServerDir() + "/mongodb"
if not os.path.exists(mongodb_path): if not os.path.exists(mongodb_path):
return "默认需要安装MongoDB" return "默认需要安装MongoDB"
if not mw.isAppleSystem():
glibc_ver = mw.getGlibcVersion()
return glibc_ver
return 'ok' return 'ok'
if __name__ == "__main__": if __name__ == "__main__":

Loading…
Cancel
Save