16 lines
623 B
Go
16 lines
623 B
Go
package paths
|
|||
|
|
|
||
|
|
// linuxFlavor implements Linux's Filesystem Hierarchy Standard
|
||
|
|
// conventions for SystemScope, and is also the fallback used for any
|
||
|
|
// other Unix-family GOOS this package does not yet tune individually
|
||
|
|
// (see AGENTS.md TODO: "further Unix/BSD platforms without a redesign").
|
||
|
|
var linuxFlavor = unixFlavor{
|
||
|
|
systemConfigDirs: []string{"/etc"},
|
||
|
|
systemDataDirs: []string{"/usr/local/share", "/usr/share"},
|
||
|
|
systemDataBase: "/var/lib",
|
||
|
|
systemStateBase: "/var/lib",
|
||
|
|
systemCacheBase: "/var/cache",
|
||
|
|
systemRuntimeBase: "/run",
|
||
|
|
systemLogBase: "/var/log",
|
||
|
|
systemBinDir: "/usr/local/bin",
|
||
|
|
}
|