Last active
March 14, 2016 20:26
-
-
Save tristanoneil/af7cb145598a5639f3d5 to your computer and use it in GitHub Desktop.
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
if [ -d ~/cache/phantomjs-2.1.1-linux-x86_64 ] | |
then | |
echo "PhantomJS 2.1.1 already found in cache, skipping download" | |
else | |
wget -O ~/cache/phantomjs-2.1.1.tar.bz2 https://s3.amazonaws.com/maji-development/phantomjs-2.1.1-linux-x86_64.tar.bz2 | |
tar xvfj ~/cache/phantomjs-2.1.1.tar.bz2 -C ~/cache/ | |
fi | |
cp ~/cache/phantomjs-2.1.1-linux-x86_64/bin/phantomjs ~/.phantomjs/bin/phantomjs |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment