Fixed after website structure changed

master
Benjamin Renard 10 years ago committed by root
parent 7ec2eac4aa
commit 46323a28d9
  1. 2
      check_rc_upgrade.sh

@ -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"

Loading…
Cancel
Save