Fix os check

This commit is contained in:
aloslider
2026-04-22 02:06:32 +03:00
parent ea41828560
commit 81325b2e95
2 changed files with 2 additions and 3 deletions
@@ -7,7 +7,7 @@ set -euo pipefail
echo "Installing and updating packages..."
{{ if eq .chezmoi.osRelease.idLike "arch" }}
{{ if or (eq .chezmoi.osRelease.id "arch") (eq .chezmoi.osRelease.id "cachyos") }}
sudo pacman -Sy --noconfirm
pkgs=()
@@ -33,7 +33,6 @@ if [[ ${#aur_pkgs[@]} -gt 0 ]]; then
echo "Installing AUR packages"
paru -S --noconfirm --needed "${aur_pkgs[@]}"
fi
{{ end }}
echo "Done"