diff --git a/usr/bin/update b/usr/bin/update index 82b140c..33d222e 100755 --- a/usr/bin/update +++ b/usr/bin/update @@ -16,7 +16,7 @@ echo "" # Check for keyring update & update as needed echo "Checking for keyring update, then update as needed.." -if pacman -Qq blackarch-keyring; then +if pacman -Qq blackarch-keyring &> /dev/null; then sudo pacman -Sy archlinux-keyring blackarch-keyring chaotic-keyring --needed && $upd_cmd else sudo pacman -Sy archlinux-keyring chaotic-keyring --needed && $upd_cmd fi