2019-07-18 16:45:46 +00:00
|
|
|
#!/usr/bin/env bash
|
|
|
|
|
|
|
|
while true; do
|
|
|
|
UPDATES=$(checkupdates 2>/dev/null | wc -l)
|
|
|
|
|
2019-11-17 16:29:34 +00:00
|
|
|
[ "$UPDATES" -gt 0 ] && echo " $UPDATES" && sleep 30
|
|
|
|
[ "$UPDATES" -eq 0 ] && echo "" && sleep 300
|
2019-07-18 16:45:46 +00:00
|
|
|
done
|