jitty-scripts/void-updater.sh
mollusk e6ba919502 void-updater.sh: correct broken line format
Former-commit-id: 4b10e2ed30dce571b2c170e805aa106716e4f39e
Former-commit-id: 320e6a7c93e7d780c75b3b52628fcb3be3e157ad
2019-01-26 08:53:41 -07:00

18 lines
350 B
Bash
Executable File

#!/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!"
notify-send "There are ${n} system updates available"
echo "There are currently "${n}" updates available!"
fi
sleep 60m
done