Skip to content
This repository has been archived by the owner on May 5, 2022. It is now read-only.

Consider using ~/.local/share for $default-dylan-directory #2

Closed
timClicks opened this issue Jun 26, 2019 · 1 comment
Closed

Consider using ~/.local/share for $default-dylan-directory #2

timClicks opened this issue Jun 26, 2019 · 1 comment

Comments

@timClicks
Copy link

timClicks commented Jun 26, 2019

Noticed that the default location is /opt/dylan. The XDG Base Directory Specification has an opinion on this:

$XDG_DATA_HOME defines the base directory relative to which user specific data files should be stored. If $XDG_DATA_HOME is either not set or empty, a default equal to $HOME/.local/share should be used.

Here is the relevant constant definition:

https://github.com/cgay/pacman/blob/74bc84d2f6338d745bd62faabffa40de327e9846/types.dylan#L23

@cgay
Copy link
Member

cgay commented Sep 13, 2021

I will update the code to follow https://specifications.freedesktop.org/basedir-spec/latest/ in general. Thanks for the nudge.

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants