Improve archlinux checkupdate stuff

This commit is contained in:
Tobias Reisinger 2020-12-23 16:37:11 +01:00
parent e11fd1a774
commit c95a15afe8
2 changed files with 2 additions and 11 deletions

View file

@ -1,9 +0,0 @@
#!/bin/sh
pkg_updates_count=$(checkupdates 2> /dev/null | wc -l)
if [ $((pkg_updates_count)) -gt 0 ]
then
echo $pkg_updates_count
else
echo ""
fi