fall back to proper data dir
somehow I forgot a .
This commit is contained in:
parent
fa5a4ecc3b
commit
5eb5643062
2
pkg/env/env.go
vendored
2
pkg/env/env.go
vendored
|
@ -67,7 +67,7 @@ func GetDataDir(appname string) string {
|
|||
if datahome := os.Getenv("XDG_DATA_HOME"); datahome != "" {
|
||||
datadir = datahome
|
||||
} else {
|
||||
datadir = make_path(os.Getenv("HOME"), "local", "share")
|
||||
datadir = make_path(os.Getenv("HOME"), ".local", "share")
|
||||
}
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in a new issue