<NME> install-phantomjs.sh
<BEF> ADDFILE
<MSG> Added phantomjs installation to the provision of Vagrant instance

<DFF> @@ -0,0 +1,24 @@
+if [ ! -f /usr/local/share/phantomjs/bin/phantomjs ]
+then
+  echo "********************************************************************************"
+  echo BEGIN PHANTOMJS
+  PHANTOMJS_VERSION="1.9.7"
+
+  apt-get -y install libicu48 libfreetype6 fontconfig
+  wget https://bitbucket.org/ariya/phantomjs/downloads/phantomjs-$PHANTOMJS_VERSION-linux-x86_64.tar.bz2
+  cp -f phantomjs-$PHANTOMJS_VERSION-linux-x86_64.tar.bz2 /usr/local/share
+  cd /usr/local/share
+  tar xvf phantomjs-$PHANTOMJS_VERSION-linux-x86_64.tar.bz2
+  rm -f /usr/local/share/phantomjs
+  ln -Fs /usr/local/share/phantomjs-$PHANTOMJS_VERSION-linux-x86_64 /usr/local/share/phantomjs
+  rm -f /usr/local/bin/phantomjs
+  ln -Fs /usr/local/share/phantomjs/bin/phantomjs /usr/local/bin/phantomjs
+  phantomjs --version
+  cd
+  echo END PHANTOMJS
+  echo "********************************************************************************"
+else
+  echo 'PhantomJS is already present'
+fi
+
+phantomjs -v

{'addition_count': 24, 'commit_subject': 'Added phantomjs installation to the provision of Vagrant instance', 'deletion_count': 0, 'file_extension': '.sh', 'lang': 'sh', 'license': 'agpl-3.0', 'repo_name': 'asm-helpful/helpful-web'}