fix: move archlinux-check-updates to cronjob
This commit is contained in:
parent
f2c7dee45d
commit
98a74f6279
2 changed files with 2 additions and 2 deletions
.local/bin
9
.local/bin/archlinux-check-updates
Executable file
9
.local/bin/archlinux-check-updates
Executable 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
|
Loading…
Add table
Add a link
Reference in a new issue