From 58e53520a2f77cf186b9afbd790af4dae7f73fd0 Mon Sep 17 00:00:00 2001 From: "Florian RICHER (MrDev023)" Date: Wed, 13 Apr 2022 23:25:18 +0200 Subject: [PATCH] Update --- run_once_prepare_unix.sh.tmpl | 7 ++++++- 1 file changed, 6 insertions(+), 1 deletion(-) diff --git a/run_once_prepare_unix.sh.tmpl b/run_once_prepare_unix.sh.tmpl index a620b49..652e1b0 100644 --- a/run_once_prepare_unix.sh.tmpl +++ b/run_once_prepare_unix.sh.tmpl @@ -1,9 +1,12 @@ +{{ if ne .chezmoi.os "windows" }} #!/bin/bash # JUST TO KEEP IN HEAD -# {{ if eq .chezmoi.kernel.osrelease "ubuntu" -}} +# {{ if eq .chezmoi.os "linux" -}} +# {{ if eq .chezmoi.osRelease.id "ubuntu" -}} # sudo apt install ripgrep # {{ end -}} +# {{ end -}} # Exemple: https://github.com/RichiCoder1/dotfiles/blob/master/executable_install-tools.sh.tmpl # INSTALL HOMEBREW @@ -39,4 +42,6 @@ brew install rust-analyzer source ~/.bash_profile # {{ else if eq .chezmoi.os "darwin" -}} +{{ end -}} + {{ end -}} \ No newline at end of file