Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

XDG_DATA_DIRS useage corrected (Fixes wrong site_data_dir e.g. under Kubuntu) #122

Open
wants to merge 1 commit into
base: master
Choose a base branch
from

Conversation

2xB
Copy link

@2xB 2xB commented Mar 1, 2019

The freedesktop specification states that $XDG_DATA_DIRS is a preference ordered list of where data should be searched (as opposed to where applications should store data). Therefore, for multipath=False, which is used by applications to determine a path to store data, this can lead to unintended paths, as can be seen under issue #121. This commit changes the default directory in this case to the distribution independent '/usr/local/share'.
Closes #121

The freedesktop specification states that $XDG_DATA_DIRS is a preference ordered list of where data should be searched (as opposed to where applications should store data). Therefore, for multipath=False, which is used by applications to determine a path to store data, this can lead to unintended paths, as can be seen under issue ActiveState#121. This commit changes the default directory in this case to the distribution independent '/usr/local/share'.
@2xB 2xB changed the title Fix issue #121: XDG_DATA_DIRS useage corrected, fixes wrong site_data_dir under Kubuntu XDG_DATA_DIRS useage corrected (Fixes wrong site_data_dir e.g. under Kubuntu) May 17, 2019
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

site_data_dir is wrong on Kubuntu
1 participant