CLEANUP
wget $URL$LOG--directory-prefix=$TMP-q if[$?!= 0 ]
then
echo "Download version file failed"
CLEANUP exit 1
fi
echo "Download version file successful" if[!-f $OPT/chrome-linux/$LOG]
then
echo "can not find old version file"
elif [ `diff $OPT/chrome-linux/$LOG$TMP/$LOG|wc -l` -eq 0 ]
then
echo "Chromium update to date"
CLEANUP exit 0
fi
echo -n "Current version "
cat $OPT/chrome-linux/$LOG
echo
echo -n "Update to version "
cat $TMP/$LOG
echo