Skip to content

Instantly share code, notes, and snippets.

@ervinb
Last active August 29, 2015 14:18
Show Gist options
  • Star 1 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save ervinb/d7550990f091bad6ba0f to your computer and use it in GitHub Desktop.
Save ervinb/d7550990f091bad6ba0f to your computer and use it in GitHub Desktop.
phantomjs2-semaphore
if ! [ -e .semaphore-cache/phantomjs-2.0-semaphore.tar.bz2 ]; then (cd .semaphore-cache; curl -OL https://s3-us-west-2.amazonaws.com/container-libraries/phantomjs-2.0-semaphore.tar.bz2); fi
sudo tar -xjf .semaphore-cache/phantomjs-2.0-semaphore.tar.bz2 -C /usr/local/
sudo ln -fs /usr/local/phantomjs-2.0-semaphore/bin/phantomjs /usr/local/bin/phantomjs
echo ">> PhantomJS is on version `phantomjs -v`"
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment