[GRASS-git] [OSGeo/grass-addons] 6f7667: r.in.usgs: Use system user cache dir (#630)
noreply at github.com
Wed Nov 24 13:16:25 PST 2021
Author: Vaclav Petras <wenzeslaus at gmail.com>
Date: 2021-11-24 (Wed, 24 Nov 2021)
r.in.usgs: Use system user cache dir (#630)
Instead of a required output/work/cache directory option, use a subdirectory of the user cache dir according to the standards of each operating system.
* Linux/Freedesktop uses .cache and we use grass as the application name, then a version string (from g.version), and then name of the module.
* MacOS is the same, but in Library/Caches.
* For Windows, we use APPDATA as in the startup script with Cache as an additional subdirectory.
Increases copyright year in code.
More information about the grass-commit