15 lines
361 B
Bash
15 lines
361 B
Bash
#!/usr/bin/env bash
|
|
|
|
{{- $packages := splitList " " (includeTemplate "universal/essential-packages" .) }}
|
|
{{- $pyenvDependencies := list
|
|
"base-devel"
|
|
"openssl"
|
|
"zlib"
|
|
"xz"
|
|
"tk"
|
|
}}
|
|
{{- if .toolchains.python }}
|
|
{{- $packages = concat $packages $pyenvDependencies -}}
|
|
{{- end }}
|
|
|
|
sudo packan -Sy --noconfirm --needed {{ $packages | sortAlpha | uniq | join " " -}}
|