13 lines
546 B
Bash
13 lines
546 B
Bash
#!/usr/bin/env bash
|
|
{{- if eq .host.distro.id "darwin" }}
|
|
{{- $supportedManagers := list "whalebrew" "brew" "port" "go" "cargo" "npm" "pipx" "gem" "cask" "binary" }}
|
|
#{- $packageMap := (get .installerMap $packageName) }}
|
|
#{- if (hasKey $packageMap "_deps") }}
|
|
#{- $deps := (get $packageMap "_deps") }}
|
|
#{- range index $deps }}
|
|
#{- end }}
|
|
#{- end }}
|
|
|
|
# Examples of /etc/os-release values https://gist.github.com/natefoo/814c5bf936922dad97ff
|
|
# Example fromJson with include from file https://github.com/twpayne/chezmoi/issues/1369
|
|
{{- end }}
|