From 5e692d7276f974c932c27b663d65e132d20bae5b Mon Sep 17 00:00:00 2001 From: Demian Ginther Date: Thu, 21 Apr 2016 12:02:17 -0600 Subject: [PATCH] Update phantomjs version Old version no longer available at the URL in the code. --- install-dependencies.sh | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) diff --git a/install-dependencies.sh b/install-dependencies.sh index 66bde2a..f7cfc67 100755 --- a/install-dependencies.sh +++ b/install-dependencies.sh @@ -26,10 +26,10 @@ pip install -r requirements.txt #apt-get install -y phantomjs # Grab the latest of phantomjs it directly from the source -wget https://bitbucket.org/ariya/phantomjs/downloads/phantomjs-1.9.8-linux-x86_64.tar.bz2 +wget https://bitbucket.org/ariya/phantomjs/downloads/phantomjs-2.1.1-linux-x86_64.tar.bz2 -phantom_md5sum=`md5sum phantomjs-1.9.8-linux-x86_64.tar.bz2 | cut -d' ' -f1` -checksum="4ea7aa79e45fbc487a63ef4788a18ef7" +phantom_md5sum=`md5sum phantomjs-2.1.1-linux-x86_64.tar.bz2 | cut -d' ' -f1` +checksum="1c947d57fce2f21ce0b43fe2ed7cd361" if [ "$phantom_md5sum" != "$checksum" ] then @@ -37,6 +37,6 @@ then exit 254 fi -tar xvf phantomjs-1.9.8-linux-x86_64.tar.bz2 -mv phantomjs-1.9.8-linux-x86_64/bin/phantomjs /usr/bin/phantomjs +tar xvf phantomjs-2.1.1-linux-x86_64.tar.bz2 +mv phantomjs-2.1.1-linux-x86_64/bin/phantomjs /usr/bin/phantomjs