fix: refactor naming

This commit is contained in:
Tobias Reisinger 2020-08-28 12:53:09 +02:00
commit f2c7dee45d
6 changed files with 9 additions and 6 deletions

View file

@ -0,0 +1,9 @@
#!/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