We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent c20db29 commit 4ce6b21Copy full SHA for 4ce6b21
omv/engines/getjnml.py
@@ -18,7 +18,12 @@ def install_jnml():
18
try:
19
jnmlpath = os.path.join(os.environ["XDG_DATA_HOME"], "jnml")
20
except KeyError:
21
- jnmlpath = os.path.join(os.environ["HOME"], ".local/share/jnml")
+ localsharepath = os.path.join(os.environ["HOME"], ".local/share")
22
+ if os.path.isdir(localsharepath):
23
+ jnmlpath = os.path.join(localsharepath, "jnml")
24
+ else:
25
+ jnmlpath = os.path.join(os.environ["HOME"], "jnml")
26
+
27
elif osname == "Darwin":
28
jnmlpath = os.path.join(os.environ["HOME"], "Library/jnml")
29
else:
0 commit comments