You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
lubuntu-update-notifier/upg-notifier.sh

22 lines
507 B

#!/bin/sh
while true;
do
OUT=`/usr/lib/update-notifier/apt-check 2>&1`
#echo $OUT
oldIFS=$IFS
IFS=';'
j=0
for STRING in $OUT; do
case $j in
0)
UPG=$STRING;;
1)
SEC=$STRING;;
esac
j=`expr $j + 1`
done
IFS=$oldIFS
/usr/lib/lubuntu-update-notifier/notifier.py -u $UPG -s $SEC -p /usr/bin/upgrader.py
sleep 3600
done;