Skip to content

Instantly share code, notes, and snippets.

@ephesus
Created July 26, 2010 15:46
Show Gist options
  • Save ephesus/490724 to your computer and use it in GitHub Desktop.
Save ephesus/490724 to your computer and use it in GitHub Desktop.
Download the latest Chrome build (hourly updated)
#!/bin/bash
#download latest chromium for mac build
#James Rubingh ephesus@gmail.com
URL="http://build.chromium.org/buildbot/snapshots/chromium-rel-mac"
if ! which wget >/dev/null; then
echo "You need wget installed"
exit 1
fi
wget $URL/LATEST
if [ -a ~/Downloads/chrome-mac-$(cat LATEST).zip ]; then
echo "Already have the latest in ~/Downloads/"
else
wget $URL/$(cat LATEST)/chrome-mac.zip
mv chrome-mac.zip ~/Downloads/chrome-mac-$(cat LATEST).zip
fi
rm -f LATEST
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment