mirror of
https://github.com/prdlk/dotfiles.git
synced 2026-11-02 11:32:42 +00:00
feat(scripts): install CachyOS repository packages when available
This commit is contained in:
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 }}
|
install_missing {{ range .packages.arch.desktop.omarchy }}{{ . }} {{ end }}
|
||||||
fi
|
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 }}"
|
aur_pkgs="{{ range .packages.arch.desktop.aur }}{{ . }} {{ end }}{{ range .packages.arch.aur }}{{ . }} {{ end }}"
|
||||||
{{ else -}}
|
{{ else -}}
|
||||||
aur_pkgs="{{ range .packages.arch.aur }}{{ . }} {{ end }}"
|
aur_pkgs="{{ range .packages.arch.aur }}{{ . }} {{ end }}"
|
||||||
|
|||||||
Reference in new issue
Block a user