From f587c06d05c2532896bf959bd2eb17d0117be92d Mon Sep 17 00:00:00 2001 From: Prad Nukala Date: Fri, 16 Oct 2026 14:23:21 -0400 Subject: [PATCH] feat(scripts): install CachyOS repository packages when available --- .chezmoiscripts/run_onchange_before_10-packages.sh.tmpl | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/.chezmoiscripts/run_onchange_before_10-packages.sh.tmpl b/.chezmoiscripts/run_onchange_before_10-packages.sh.tmpl index 077179d..6d3c4b1 100644 --- a/.chezmoiscripts/run_onchange_before_10-packages.sh.tmpl +++ b/.chezmoiscripts/run_onchange_before_10-packages.sh.tmpl @@ -24,6 +24,11 @@ if pacman-conf -l | grep -qx omarchy; then install_missing {{ range .packages.arch.desktop.omarchy }}{{ . }} {{ end }} fi +# [cachyos] repo packages — only where pacman.conf has that repo +if pacman-conf -l | grep -qx cachyos; then + install_missing {{ range .packages.arch.desktop.cachyos }}{{ . }} {{ end }} +fi + aur_pkgs="{{ range .packages.arch.desktop.aur }}{{ . }} {{ end }}{{ range .packages.arch.aur }}{{ . }} {{ end }}" {{ else -}} aur_pkgs="{{ range .packages.arch.aur }}{{ . }} {{ end }}"