void linux update notifier

This commit is contained in:
silvernode 2016-04-03 07:27:51 -07:00
parent 0308311d51
commit 25df5a059f

16
Bash Scripts/void-updater.sh Executable file
View File

@ -0,0 +1,16 @@
#!/bin/bash
nohup xbps-install -S
n=`xbps-install -Snu | wc -l`
while true;do
if [ $n -gt 0 ];then
zenity --info --title="Update Notifier - (${n})" --text="There are currently ${n} system updates available!"
echo "There are currently "${n}" updates available!"
fi
sleep 60m
done