mirror of
https://github.com/prdlk/dotfiles.git
synced 2026-11-02 11:32:42 +00:00
fix(scripts): remove CachyOS package installation block
This commit is contained in:
1 parent
7a51f522e4
commit
b555282d9c
1 file changed
+1
-6
@@ -24,17 +24,12 @@ 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 }}"
|
||||||
{{ end -}}
|
{{ end -}}
|
||||||
# AUR names no installed package provides yet; ones already installed from a
|
# AUR names no installed package provides yet; ones already installed from a
|
||||||
# sync repo (cachyos, [omarchy]) are neither rebuilt nor replaced.
|
# sync repo (CachyOS, [omarchy]) are neither rebuilt nor replaced.
|
||||||
# shellcheck disable=SC2086
|
# shellcheck disable=SC2086
|
||||||
aur_missing=$(pacman -T $aur_pkgs || true)
|
aur_missing=$(pacman -T $aur_pkgs || true)
|
||||||
if [ -n "$aur_missing" ]; then
|
if [ -n "$aur_missing" ]; then
|
||||||
|
|||||||
Reference in new issue
Block a user