Suppress unnecessary output

This commit is contained in:
dr460nf1r3 2021-07-05 07:19:57 +02:00
parent 1124414af8
commit 312de94059
No known key found for this signature in database
GPG Key ID: BE75B9D9767036C2
1 changed files with 1 additions and 1 deletions

View File

@ -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