Fix check upgrade when two stable releases are available
This commit is contained in:
parent
5a56af91e8
commit
71aeb4805d
1 changed files with 1 additions and 1 deletions
|
@ -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/'`
|
||||
newest=`cat $tmpfile|grep Stable|grep dlversion|sed 's/^.*Stable.*: \(.*\)<\/td>.*$/\1/'|head -n 1`
|
||||
if [ -n "$newest" ]
|
||||
then
|
||||
[ $DEBUG -eq 1 ] && echo "Newest : $newest"
|
||||
|
|
Loading…
Reference in a new issue