Ensure packages available on both AUR and other repos are installed from AUR

Closes #4578, #4577, #4581
This commit is contained in:
David Heinemeier Hansson
2026-02-17 12:03:04 +01:00
parent 68b4939993
commit b573a37e33

View File

@@ -19,8 +19,8 @@ fzf_args=(
pkg_names=$(yay -Slqa | fzf "${fzf_args[@]}")
if [[ -n "$pkg_names" ]]; then
# Convert newline-separated selections to space-separated for yay
echo "$pkg_names" | tr '\n' ' ' | xargs yay -S --noconfirm
# Add aur/ prefix to each package name and convert to space-separated for yay
echo "$pkg_names" | sed 's/^/aur\//' | tr '\n' ' ' | xargs yay -S --noconfirm
sudo updatedb
omarchy-show-done
fi