From b40847f379c2443cadf82c51ad505844e80e58b8 Mon Sep 17 00:00:00 2001 From: Anthony Rodriguez Date: Wed, 7 Feb 2024 15:34:30 +0100 Subject: [PATCH] add flavor specific packages for fedora --- run_once_1_install_programs.sh.tmpl | 2 ++ 1 file changed, 2 insertions(+) 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 }}