Change to one condition
This commit is contained in:
parent
178e92a2ee
commit
4589b3fcf9
@ -15,9 +15,7 @@ fi
|
||||
|
||||
updates=$(("$updates_arch" + "$updates_aur"))
|
||||
|
||||
if [ "$updates" -gt 0 ]; then
|
||||
echo " $updates"
|
||||
elif [ "$updates" -eq 0 ]; then
|
||||
if [ "$updates" -ge 0 ]; then
|
||||
echo " $updates"
|
||||
else
|
||||
echo ""
|
||||
|
Loading…
Reference in New Issue
Block a user