Created
July 27, 2012 07:34
-
-
Save hongymagic/3186670 to your computer and use it in GitHub Desktop.
Check if yeoman is available for download
This file contains hidden or 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 | |
while true; do | |
if curl --silent -IL get.yeoman.io | grep -i '200'; then | |
echo "yeoman looks to be available: visit http://yeoman.io" | |
echo "or simply try running the command:" | |
echo "$ curl -L get.yeoman.io | sh" | |
say "yeoman!" | |
fi | |
sleep 120 | |
done |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment