# HG changeset patch # User Zeger Van de Vannet <747627+zegervdv@users.noreply.github.com> # Date 1664998637 -7200 # Node ID 134efe943fd467b7a4f6af4c0910f43d5ef8522f # Parent f9eadf5e6d57547f194588ce9e181029b52f05cc fix: handle template error on macOS diff -r f9eadf5e6d57 -r 134efe943fd4 .chezmoiscripts/run_once_after_15-install-ubuntu-packages.sh.tmpl --- a/.chezmoiscripts/run_once_after_15-install-ubuntu-packages.sh.tmpl Wed Oct 05 18:35:44 2022 +0200 +++ b/.chezmoiscripts/run_once_after_15-install-ubuntu-packages.sh.tmpl Wed Oct 05 21:37:17 2022 +0200 @@ -1,5 +1,7 @@ +{{ if eq .chezmoi.os "linux" -}} {{ if eq .chezmoi.osRelease.name "Ubuntu" -}} #!/usr/bin/env bash sudo apt install -y libsqlite3-dev libreadline-dev libbz2-dev libncurses-dev {{- end }} +{{- end }}