Skip to content

Instantly share code, notes, and snippets.

@msonnabaum
Created June 30, 2009 21:31
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save msonnabaum/138442 to your computer and use it in GitHub Desktop.
Save msonnabaum/138442 to your computer and use it in GitHub Desktop.
#!/bin/bash
LATEST=$(curl -o - http://build.chromium.org/buildbot/snapshots/chromium-rel-mac/LATEST)
WGET=$(which wget)
${WGET} "http://build.chromium.org/buildbot/snapshots/chromium-rel-mac/${LATEST}/chrome-mac.zip"
if [[ -f "chrome-mac.zip" ]]
then
unzip chrome-mac.zip
fi
if [[ -d "/Applications/Chromium.app" ]]
then
rm -r /Applications/Chromium.app
fi
if [[ -d "chrome-mac/Chromium.app" ]]
then
mv chrome-mac/Chromium.app /Applications/
fi
rm -r chrome-mac chrome-mac.zip
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment