From 88784781036137ccb116e962ea9bedafee6574fd Mon Sep 17 00:00:00 2001 From: David Heinemeier Hansson Date: Mon, 2 Feb 2026 21:16:23 +0100 Subject: [PATCH] Prevent broken AUR updates from interrupted git sessions Co-authored-by: @scale03 Closes #3995, #3917 --- bin/omarchy-update-aur-pkgs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/bin/omarchy-update-aur-pkgs b/bin/omarchy-update-aur-pkgs index 0e5c9d53..0dee5edf 100755 --- a/bin/omarchy-update-aur-pkgs +++ b/bin/omarchy-update-aur-pkgs @@ -4,7 +4,7 @@ if pacman -Qem >/dev/null; then if omarchy-pkg-aur-accessible; then echo -e "\e[32m\nUpdate AUR packages\e[0m" - yay -Sua --noconfirm --ignore gcc14,gcc14-libs + yay -Sua --noconfirm --cleanafter --ignore gcc14,gcc14-libs echo else echo -e "\e[31m\nAUR is unavailable (so skipping updates)\e[0m"