File tree Expand file tree Collapse file tree 1 file changed +6
-3
lines changed
Expand file tree Collapse file tree 1 file changed +6
-3
lines changed Original file line number Diff line number Diff line change @@ -8,8 +8,8 @@ set -e -x
88# 3) If not available, it downloads and caches it, using the "decrement commit number" trick.
99
1010# Build version read from the OmahaProxy CSV Viewer at https://www.chromium.org/developers/calendar
11- # Let's use Chromium 47 as the default (352221 build number) , and try to grab the latest stable from https://omahaproxy.appspot.com/all
12- CHROMIUM_VERSION=352221
11+ # Let's use the following version of Chromium , and inform about availability of newer build from https://omahaproxy.appspot.com/all
12+ CHROMIUM_VERSION=359700
1313TMP=$( curl -s " https://omahaproxy.appspot.com/all" ) || true
1414oldIFS=" $IFS "
1515IFS='
@@ -21,7 +21,7 @@ for line in "${lines[@]}"
2121 do
2222 lineArray=($line );
2323 if [ " ${lineArray[0]} " = " linux" ] && [ " ${lineArray[1]} " = " stable" ] ; then
24- CHROMIUM_VERSION =" ${lineArray[7]} "
24+ LATEST_CHROMIUM_VERSION =" ${lineArray[7]} "
2525 fi
2626done
2727IFS=" $oldIFS "
@@ -56,4 +56,7 @@ if [[ "$EXISTING_VERSION" != "$CHROMIUM_VERSION" ]]; then
5656 echo $CHROMIUM_VERSION > $CHROMIUM_VERSION_FILE
5757fi
5858
59+ if [[ " $CHROMIUM_VERSION " != " $LATEST_CHROMIUM_VERSION " ]]; then
60+ echo " New version of Chromium available. Update install_chromium.sh with build number: ${LATEST_CHROMIUM_VERSION} "
61+ fi
5962
You can’t perform that action at this time.
0 commit comments