changeset 700:e1cbab38a3e1

add missing dependencies and skip brew setup on arm64
author zegervdv <zegervdv@me.com>
date Wed, 19 Oct 2022 21:53:54 +0000
parents 18b55952980d
children 306ac9429043
files .chezmoiscripts/run_once_after_15-install-ubuntu-packages.sh.tmpl .chezmoiscripts/run_onchange_after_10-install-brew-packages.sh.tmpl
diffstat 2 files changed, 2 insertions(+), 2 deletions(-) [+]
line wrap: on
line diff
--- a/.chezmoiscripts/run_once_after_15-install-ubuntu-packages.sh.tmpl	Mon Oct 17 19:29:36 2022 +0000
+++ b/.chezmoiscripts/run_once_after_15-install-ubuntu-packages.sh.tmpl	Wed Oct 19 21:53:54 2022 +0000
@@ -2,6 +2,6 @@
 {{ if eq .chezmoi.osRelease.name "Ubuntu" -}}
 #!/usr/bin/env bash
 
-sudo apt install -y libsqlite3-dev libreadline-dev libbz2-dev libncurses-dev
+sudo apt install -y libsqlite3-dev libreadline-dev libbz2-dev libncurses-dev zlib1g-dev libffi-dev libssl-dev
 {{- end }}
 {{- end }}
--- a/.chezmoiscripts/run_onchange_after_10-install-brew-packages.sh.tmpl	Mon Oct 17 19:29:36 2022 +0000
+++ b/.chezmoiscripts/run_onchange_after_10-install-brew-packages.sh.tmpl	Wed Oct 19 21:53:54 2022 +0000
@@ -1,4 +1,4 @@
-{{ if (or (eq .chezmoi.os "linux") (eq .chezmoi.os "darwin")) -}}
+{{ if (and (or (eq .chezmoi.os "linux") (eq .chezmoi.os "darwin")) (ne .chezmoi.arch "arm64")) -}}
 #!/usr/bin/env bash
 
 # Brewfile hash: {{ include "dot_Brewfile" | sha256sum }}