Added an alternate path for Linux systems that install FreeCAD at /usr/bin instead of /usr/local.

This commit is contained in:
Jeremy Wright 2014-12-05 00:17:38 -05:00
parent 40efd2599a
commit de3d4ea8a7

View File

@ -37,6 +37,7 @@ def _fc_path():
os.path.join(os.path.expanduser("~"), "lib/freecad/lib"),
"/usr/local/lib/freecad/lib",
"/usr/lib/freecad/lib",
"/usr/bin/freecad/lib",
]:
if os.path.exists(_PATH):
return _PATH