From b5ced14972b4df4e11391dd1ff4085f14a85353f Mon Sep 17 00:00:00 2001 From: David Heinemeier Hansson Date: Mon, 25 Aug 2025 12:02:38 +0200 Subject: [PATCH] In case one package doesn't want to go, do it yourself --- bin/omarchy-update-system-pkgs | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/bin/omarchy-update-system-pkgs b/bin/omarchy-update-system-pkgs index e50d882d..e3a12fa5 100755 --- a/bin/omarchy-update-system-pkgs +++ b/bin/omarchy-update-system-pkgs @@ -16,6 +16,8 @@ fi orphans=$(pacman -Qtdq) if [[ -n $orphans ]]; then echo -e "\e[32m\nRemove orphan system packages\e[0m" - sudo pacman -Rs --noconfirm "$orphans" + for pkg in $orphans; do + sudo pacman -Rs --noconfirm "$pkg" || true + done echo fi