mirror of
https://github.com/openSUSE/osc.git
synced 2024-12-27 02:16:12 +01:00
Add 'osc.util.xdg' module for handling XDG paths
This commit is contained in:
parent
b9014ccd56
commit
54d1884e1d
6
osc/util/xdg.py
Normal file
6
osc/util/xdg.py
Normal file
@ -0,0 +1,6 @@
|
|||||||
|
import os
|
||||||
|
|
||||||
|
XDG_DATA_HOME = os.environ.get("XDG_DATA_HOME", "~/.local/share")
|
||||||
|
XDG_CONFIG_HOME = os.environ.get("XDG_CONFIG_HOME", "~/.config")
|
||||||
|
XDG_STATE_HOME = os.environ.get("XDG_STATE_HOME", "~/.local/state")
|
||||||
|
XDG_CACHE_HOME = os.environ.get("XDG_CACHE_HOME", "~/.cache")
|
Loading…
Reference in New Issue
Block a user