diff .chezmoiscripts/run_onchange_after_10-install-brew-packages.sh.tmpl @ 754:1896bcf3fdb8

fix: handle templated scripts correctly on macOS (#10) * ci: reduce verboseness in test * fixup! ci: reduce verboseness in test * fixup! fixup! ci: reduce verboseness in test
author Zeger Van de Vannet <747627+zegervdv@users.noreply.github.com>
date Fri, 27 Jan 2023 08:51:08 +0100
parents 10e3f300baea
children 459e70c99f4c
line wrap: on
line diff
--- a/.chezmoiscripts/run_onchange_after_10-install-brew-packages.sh.tmpl	Mon Dec 12 20:19:43 2022 +0000
+++ b/.chezmoiscripts/run_onchange_after_10-install-brew-packages.sh.tmpl	Fri Jan 27 08:51:08 2023 +0100
@@ -1,4 +1,4 @@
-{{ if (and (or (eq .chezmoi.os "linux") (eq .chezmoi.os "darwin")) (ne .chezmoi.arch "arm64") (ne .chezmoi.osRelease.id "centos")) -}}
+{{ if (or (eq .chezmoi.os "darwin") (and (eq .chezmoi.os "linux") (ne .chezmoi.arch "arm64") (ne .chezmoi.osRelease.id "centos"))) -}}
 #!/usr/bin/env bash
 
 # Brewfile hash: {{ include "dot_Brewfile" | sha256sum }}