Fixing setup for launchpad for good.

This commit is contained in:
Adsooi 2022-02-03 12:56:18 +01:00
parent fe6c805bc7
commit fec6a6b00a
Signed by: Ad5001
GPG key ID: EF45F9C6AFE20160

View file

@ -43,7 +43,7 @@ if "PREFIX" not in os.environ and sys.platform == 'linux':
os.environ["PREFIX"] = "/usr/share" os.environ["PREFIX"] = "/usr/share"
except: except:
if ".pybuild" in os.environ["HOME"]: # Launchpad building. if ".pybuild" in os.environ["HOME"]: # Launchpad building.
os.environ["PREFIX"] = "usr/share" os.environ["PREFIX"] = "share"
else: else:
os.environ["PREFIX"] = os.environ["HOME"] + "/.local/share" os.environ["PREFIX"] = os.environ["HOME"] + "/.local/share"