Chromium AutoUpdate via CRON
Uncategorized June 2nd, 2009 by Shai Perednik
Happy to report that the auto updating went according to plan.
The AutoUpdating is nice but would be really interesting to know what has changed.
Related posts:Tags: Auto Update, Chromium, Cron
Auto Update to Latest Chromium Build
Uncategorized May 29th, 2009 by Shai Perednik
Finaly got Chromium running on my Ubuntu 8.04 Machine.
You could download it from http://build.chromium.org/buildbot/snapshots/chromium-rel-linux/
Below is a script that will download the current Chromium build and get it ready to run.
Theres not much to it, but it automates the process.
6/1/09 Update – I noticed that CRON ran in the user directory, so I fixed that. Also added an rm to remove any old downloaded zips. I ran the CRON job manualy and it works. So we’ll see tomorrow to see if it works.
#CODE START
#!/bin/sh
#Buy Shai Perednik 5/29/09
#Change directory
cd /home/shai/Chromium
#Delete any existing LATEST files
rm LATEST
#Delete any old Chromium Zip Downloads
rm chrome-linux.zip*
#Download the LATEST file that contains the newest chromium build for linux
wget http://build.chromium.org/buildbot/snapshots/chromium-rel-linux/LATEST
#reads the last line of LATEST file
VAL=`cat LATEST |cut -f1`
#Download the latest Snapshot
wget “http://build.chromium.org/buildbot/snapshots/chromium-rel-linux/$VAL/chrome-linux.zip”
#Kill Any Existing Chrome Proceses
killall gchrome
#Extract the archive
unzip -o chrome-linux
#Make the chrome file executable
chmod +x chrome-linux/chrome
#End Code
Related posts:Tags: Auto Update, Build, Chromium, Cron, Extract, Linux, Mac, Ubuntu, Unzip
