Compare commits

...

2 Commits

Author SHA1 Message Date
TorchedSammy b1d0cf3c78
fix!: set dataDir to have /usr/local prefix 2022-12-10 17:33:58 -04:00
TorchedSammy a9e324faa9
build!: just default to /usr/local on linux and macos
this is a common practice anyway of projects on github.
package managers will install to /usr. if the user
wants to change this anyway they can
2022-12-10 17:32:26 -04:00
2 changed files with 2 additions and 2 deletions

View File

@ -3,7 +3,7 @@
version: '3'
vars:
PREFIX: '{{default (eq .OS "darwin" | ternary "/usr/local" "/usr") .PREFIX}}'
PREFIX: '{{default "/usr/local" .PREFIX}}'
bindir__: '{{.PREFIX}}/bin'
BINDIR: '{{default .bindir__ .BINDIR}}'
libdir__: '{{.PREFIX}}/share/hilbish'

View File

@ -14,7 +14,7 @@ var (
.. hilbish.userDir.config .. '/hilbish/?/init.lua;'
.. hilbish.userDir.config .. '/hilbish/?/?.lua;'
.. hilbish.userDir.config .. '/hilbish/?.lua'`
dataDir = "/usr/share/hilbish"
dataDir = "/usr/local/share/hilbish"
preloadPath = dataDir + "/nature/init.lua"
sampleConfPath = dataDir + "/.hilbishrc.lua" // Path to default/sample config
defaultConfDir = ""