Change to one condition

This commit is contained in:
RealStickman 2021-02-18 21:09:43 +01:00
parent 178e92a2ee
commit 4589b3fcf9

View File

@ -15,9 +15,7 @@ fi
updates=$(("$updates_arch" + "$updates_aur")) updates=$(("$updates_arch" + "$updates_aur"))
if [ "$updates" -gt 0 ]; then if [ "$updates" -ge 0 ]; then
echo "$updates"
elif [ "$updates" -eq 0 ]; then
echo "$updates" echo "$updates"
else else
echo "" echo ""