mirror of
https://github.com/lutris/lutris
synced 2024-10-06 07:50:16 +00:00
Consider any executable from /usr to be a system install
This commit is contained in:
parent
339a67fe79
commit
648e285492
|
@ -19,7 +19,7 @@ import locale
|
|||
from os.path import realpath, dirname, normpath
|
||||
|
||||
LAUNCH_PATH = dirname(realpath(__file__))
|
||||
if LAUNCH_PATH != "/usr/bin":
|
||||
if not LAUNCH_PATH.startswith("/usr"):
|
||||
sys.dont_write_bytecode = True
|
||||
SOURCE_PATH = normpath(os.path.join(LAUNCH_PATH, '..'))
|
||||
sys.path.insert(0, SOURCE_PATH)
|
||||
|
|
Loading…
Reference in a new issue