Created
July 26, 2010 15:46
-
-
Save ephesus/490724 to your computer and use it in GitHub Desktop.
Download the latest Chrome build (hourly updated)
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/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