Trying to fix launchpad building.
All checks were successful
continuous-integration/drone/push Build is passing

This commit is contained in:
Adsooi 2022-01-29 19:15:41 +01:00
parent 64e5770ceb
commit fe6c805bc7
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"] = "usr/share"
else: else:
os.environ["PREFIX"] = os.environ["HOME"] + "/.local/share" os.environ["PREFIX"] = os.environ["HOME"] + "/.local/share"