Haha oops
This commit is contained in:
parent
1435c02354
commit
5ea5a302bf
@ -29,14 +29,14 @@ func init () {
|
|||||||
|
|
||||||
configDirs = append(strings.Split(configDirsString, ":"), configHome)
|
configDirs = append(strings.Split(configDirsString, ":"), configHome)
|
||||||
|
|
||||||
configHome = os.Getenv("XDG_DATA_HOME")
|
dataHome = os.Getenv("XDG_DATA_HOME")
|
||||||
if configHome == "" {
|
if dataHome == "" {
|
||||||
configHome = filepath.Join(homeDirectory, "/.local/share/")
|
dataHome = filepath.Join(homeDirectory, "/.local/share/")
|
||||||
}
|
}
|
||||||
|
|
||||||
cacheHome = os.Getenv("XDG_CACHE_HOME")
|
cacheHome = os.Getenv("XDG_CACHE_HOME")
|
||||||
if cacheHome == "" {
|
if cacheHome == "" {
|
||||||
configHome = filepath.Join(homeDirectory, "/.cache/")
|
cacheHome = filepath.Join(homeDirectory, "/.cache/")
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user