This commit is contained in:
Marco Thomas
2020-10-28 22:40:43 +01:00
parent 3eb990104b
commit 1502082ae6
9 changed files with 105 additions and 445 deletions

View File

@@ -1,3 +1,11 @@
#!/bin/sh
yay -Qu | wc -l
if ! updates=$(yay -Qum 2> /dev/null | wc -l); then
updates=0
fi
if [ "$updates" -gt 0 ]; then
echo "$updates"
else
echo ""
fi