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 }}"