fix: move archlinux-check-updates to cronjob

This commit is contained in:
Tobias Reisinger 2020-09-03 11:23:42 +02:00
parent f2c7dee45d
commit 98a74f6279
2 changed files with 2 additions and 2 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