Mercurial > dotfiles
diff .chezmoiscripts/run_once_after_15-install-ubuntu-packages.sh.tmpl @ 694:134efe943fd4
fix: handle template error on macOS
author | Zeger Van de Vannet <747627+zegervdv@users.noreply.github.com> |
---|---|
date | Wed, 05 Oct 2022 21:37:17 +0200 |
parents | 4b289d175d89 |
children | e1cbab38a3e1 |
line wrap: on
line diff
--- 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 }}