diff .chezmoiscripts/run_onchange_after_10-install-brew-packages.sh.tmpl @ 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 83b479436409
children 10e3f300baea
line wrap: on
line diff
--- 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 }}