Skip to content

Instantly share code, notes, and snippets.

@dekz
Created January 13, 2010 01:09
Show Gist options
  • Save dekz/275814 to your computer and use it in GitHub Desktop.
Save dekz/275814 to your computer and use it in GitHub Desktop.
#!/bin/bash
mkdir /tmp/chromedownload && cd /tmp/chromedownload
curl http://build.chromium.org/buildbot/snapshots/chromium-rel-mac/LATEST -o /tmp/chromedownload/LATEST --silent && LATEST=`cat /tmp/chromedownload/LATEST`
echo "Found latest.." $LATEST
curl http://build.chromium.org/buildbot/snapshots/chromium-rel-mac/$LATEST/chrome-mac.zip -o /tmp/chromedownload/chrome-mac.zip --silent
echo "Download Complete.."
unzip -qq /tmp/chromedownload/chrome-mac.zip
cp -R /tmp/chromedownload/chrome-mac/Chromium.app /Applications
echo "Cleaning up.."
rm -rf /tmp/chromedownload
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment