diff --git a/run_once_1_install_programs.sh.tmpl b/run_once_1_install_programs.sh.tmpl index f6f91a4..9048ddb 100644 --- a/run_once_1_install_programs.sh.tmpl +++ b/run_once_1_install_programs.sh.tmpl @@ -1,4 +1,5 @@ #!/bin/sh +{{ if eq .flavor "desktop" }} {{- if eq .chezmoi.osRelease.id "fedora" }} # add 1password repository @@ -13,3 +14,4 @@ sudo sh -c 'echo -e "[code]\nname=Visual Studio Code\nbaseurl=https://packages.m sudo dnf check-update sudo dnf install $(cat fedora_packages) -y {{ end }} +{{ end }}