From 22f331b8ff028964ec4c29758740edc5f57d9154 Mon Sep 17 00:00:00 2001 From: Vlad Doster Date: Wed, 4 Mar 2020 12:52:56 -0500 Subject: [PATCH] Cleaned up aur updates script --- .local/bin/polybar_scripts/aur_updates | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) diff --git a/.local/bin/polybar_scripts/aur_updates b/.local/bin/polybar_scripts/aur_updates index 924fdceb..33955011 100755 --- a/.local/bin/polybar_scripts/aur_updates +++ b/.local/bin/polybar_scripts/aur_updates @@ -1,8 +1,6 @@ #!/usr/bin/env sh -if ! updates=$(yay -Qum 2> /dev/null | wc -l); then - updates=0 -fi +updates=$(yay -Qum | wc -l) if [ "$updates" -eq 1 ]; then echo "$updates update"