e2b88b553a
- /home/.chezmoiscripts/universal/run_onchange_after_14_install-aqua-packages.tmpl - /home/.chezmoiscripts/universal/run_onchange_after_15_install-asdf-packages.tmpl - /home/.chezmoiscripts/universal/run_onchange_after_99_bootstrap-zsh-plugins.tmpl - /home/.chezmoiscripts/universal/run_onchange_after_14-install-aqua-packages.tmpl - /home/.chezmoiscripts/universal/run_onchange_after_15-install-asdf-packages.tmpl - /home/.chezmoiscripts/universal/run_onchange_after_99-bootstrap-zsh-plugins.tmpl - /home/.chezmoiscripts/universal/run_onchange_after_41-vagrant-vmware-utility.tmpl - /software.yml
23 lines
699 B
Cheetah
23 lines
699 B
Cheetah
{{- if false }}
|
|
#!/usr/bin/env bash
|
|
|
|
set -eufo pipefail
|
|
|
|
{{ includeTemplate "universal/profile" }}
|
|
{{ includeTemplate "universal/logg" }}
|
|
|
|
{{- $files := list -}}
|
|
{{- range $path := glob (list .chezmoi.sourceDir "private_dot_config/aqua/**/*.yaml.tmpl" | join "/") }}
|
|
{{- $files = concat $files (list (include $path)) -}}
|
|
{{- end }}
|
|
# aqua.yaml.tmpl hash: {{ $files | join "" | sha256sum }}
|
|
if ! command -v aqua >/dev/null 2>&1; then
|
|
logg info 'Installing Aqua'
|
|
curl -sSfL https://raw.githubusercontent.com/aquaproj/aqua-installer/v1.0.0/aqua-installer | bash
|
|
fi
|
|
|
|
logg info 'Updating Aqua'
|
|
aqua update-aqua
|
|
logg info 'Installing Aqua dependencies (if any are defined)'
|
|
aqua install -a
|
|
{{ end -}}
|