diff --git a/Taskfile.yaml b/Taskfile.yaml index 603633f..16a2cdd 100644 --- a/Taskfile.yaml +++ b/Taskfile.yaml @@ -3,7 +3,7 @@ version: '3' vars: - PREFIX: '{{default "/usr/local" .PREFIX}}' + PREFIX: '{{default (eq .OS "darwin" | ternary "/usr/local" "/usr") .PREFIX}}' bindir__: '{{.PREFIX}}/bin' BINDIR: '{{default .bindir__ .BINDIR}}' libdir__: '{{.PREFIX}}/share/hilbish'