Fixed after website structure changed

This commit is contained in:
Benjamin Renard 2013-01-11 09:53:26 +01:00 committed by root
parent 7ec2eac4aa
commit 46323a28d9

View file

@ -72,7 +72,7 @@ for i in `seq 1 $MAX_CHECK`
do
tmpfile=`mktemp`
wget -q $CHECK_URL -O $tmpfile
newest=`cat $tmpfile|grep Stable|grep dlversion|sed 's/^.*Stable.*: \(.*\)<\/td>.*$/\1/'|head -n 1`
newest=`cat $tmpfile|grep dlversion|grep Complete|head -n 1|sed 's/^.*: \([0-9\.]*\).*$/\1/'`
if [ -n "$newest" ]
then
[ $DEBUG -eq 1 ] && echo "Newest : $newest"