From d9c69b8d02b4d922054644d4f9494d146c093a38 Mon Sep 17 00:00:00 2001 From: David Heinemeier Hansson Date: Thu, 28 Aug 2025 22:02:13 +0200 Subject: [PATCH] Silence errors if they are missing --- migrations/1756410649.sh | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/migrations/1756410649.sh b/migrations/1756410649.sh index cf444a1..5a11b22 100644 --- a/migrations/1756410649.sh +++ b/migrations/1756410649.sh @@ -1,10 +1,10 @@ echo "Remove any Chaotic-AUR infrastructure packages" -if pacman -Q chaotic-keyring >/dev/null; then +if pacman -Q chaotic-keyring 2>/dev/null; then sudo pacman -Rns --noconfirm chaotic-keyring fi -if pacman -Q chaotic-mirrorlist >/dev/null; then +if pacman -Q chaotic-mirrorlist 2>/dev/null; then sudo pacman -Rns --noconfirm chaotic-mirrorlist fi