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