Fallback to .local for application edits.
(cherry picked from commit 3de5f1498b
)
This commit is contained in:
parent
8dd16eb326
commit
d98757e12a
@ -115,7 +115,7 @@ def get_system_item_paths():
|
|||||||
if os.environ.has_key('XDG_DATA_DIRS'):
|
if os.environ.has_key('XDG_DATA_DIRS'):
|
||||||
item_dirs = os.environ['XDG_DATA_DIRS'].split(":")
|
item_dirs = os.environ['XDG_DATA_DIRS'].split(":")
|
||||||
else:
|
else:
|
||||||
item_dirs = [os.path.join('usr', 'share')]
|
item_dirs = [os.path.join(os.environ['HOME'], '.local', 'share')]
|
||||||
|
|
||||||
return item_dirs
|
return item_dirs
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user