Skip to content

Instantly share code, notes, and snippets.

@hongymagic
Created July 27, 2012 07:34
Show Gist options
  • Save hongymagic/3186670 to your computer and use it in GitHub Desktop.
Save hongymagic/3186670 to your computer and use it in GitHub Desktop.
Check if yeoman is available for download
#!/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