feat(scripts): install CachyOS repository packages when available

This commit is contained in:
Prad Nukala committed 2026-10-16 14:23:21 -04:00
1 parent 21e108e13c
commit f587c06d05
1 file changed
+5
@@ -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 }}"