just another fix

This commit is contained in:
x70b1 2017-12-06 00:27:08 +01:00
parent 52bd493e73
commit 85cd6d283a

View File

@ -1,10 +1,8 @@
#!/bin/sh
# if ! updates=$(cower -u 2> /dev/null); then
if ! updates=$(trizen -Su --aur 2> /dev/null); then
# if ! updates=$(cower -u 2> /dev/null | wc -l); then
if ! updates=$(trizen -Su --aur 2> /dev/null | wc -l); then
updates=0
else
updates=$(echo $updates | wc -l)
fi
if [ "$updates" -gt 0 ]; then