Fixed after website structure changed
This commit is contained in:
parent
7ec2eac4aa
commit
46323a28d9
1 changed files with 1 additions and 1 deletions
|
@ -72,7 +72,7 @@ for i in `seq 1 $MAX_CHECK`
|
||||||
do
|
do
|
||||||
tmpfile=`mktemp`
|
tmpfile=`mktemp`
|
||||||
wget -q $CHECK_URL -O $tmpfile
|
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" ]
|
if [ -n "$newest" ]
|
||||||
then
|
then
|
||||||
[ $DEBUG -eq 1 ] && echo "Newest : $newest"
|
[ $DEBUG -eq 1 ] && echo "Newest : $newest"
|
||||||
|
|
Loading…
Reference in a new issue