Benjamin Renard commited on 2013-01-11 08:53:51
Showing 1 changed files, with 1 additions and 1 deletions.
... | ... |
@@ -72,7 +72,7 @@ for i in `seq 1 $MAX_CHECK` |
72 | 72 |
do |
73 | 73 |
tmpfile=`mktemp` |
74 | 74 |
wget -q $CHECK_URL -O $tmpfile |
75 |
- newest=`cat $tmpfile|grep Stable|grep dlversion|sed 's/^.*Stable.*: \(.*\)<\/td>.*$/\1/'|head -n 1` |
|
75 |
+ newest=`cat $tmpfile|grep dlversion|grep Complete|head -n 1|sed 's/^.*: \([0-9\.]*\).*$/\1/'` |
|
76 | 76 |
if [ -n "$newest" ] |
77 | 77 |
then |
78 | 78 |
[ $DEBUG -eq 1 ] && echo "Newest : $newest" |
79 | 79 |