mirror of
https://github.com/dcarrillo/dotfiles.git
synced 2024-12-23 07:18:00 +00:00
9 lines
199 B
Plaintext
9 lines
199 B
Plaintext
|
#!/usr/bin/env bash
|
||
|
|
||
|
while true; do
|
||
|
UPDATES=$(checkupdates 2>/dev/null | wc -l)
|
||
|
|
||
|
[[ $UPDATES -gt 0 ]] && echo " $UPDATES" && sleep 30
|
||
|
[[ $UPDATES -eq 0 ]] && echo "" && sleep 300
|
||
|
done
|