From 65b4b65c71eb372f926f1b2b36d753df861303b5 Mon Sep 17 00:00:00 2001 From: Dane Powell Date: Wed, 12 May 2021 17:38:05 -0700 Subject: [PATCH] Move script to Travis plugin --- scripts/linux/install-chrome.sh | 22 ---------------------- 1 file changed, 22 deletions(-) delete mode 100755 scripts/linux/install-chrome.sh diff --git a/scripts/linux/install-chrome.sh b/scripts/linux/install-chrome.sh deleted file mode 100755 index 45066b145..000000000 --- a/scripts/linux/install-chrome.sh +++ /dev/null @@ -1,22 +0,0 @@ -#!/usr/bin/env bash -# Installs chromedriver and chrome for Linux 64 bit systems. -# Requires Trusty or higher. -# example usage `./install-chrome.sh usr/local/bin` - -# Scripts expect argument specifying bin dir. -BIN_DIR=$1 - -if [ "$(expr substr $(uname -s) 1 5)" == "Linux" ]; then - # Download google chrome. - # wget https://dl.google.com/linux/direct/google-chrome-stable_current_amd64.deb - # sudo dpkg -i --force-depends google-chrome-stable_current_amd64.deb - # apt-get -f install - - # Installs chromedriver for Linux 64 bit systems. - [ -z "$CHROMEDRIVER_VERSION" ] && CHROMEDRIVER_VERSION=$(wget -q -O - http://chromedriver.storage.googleapis.com/LATEST_RELEASE) - wget -N https://chromedriver.storage.googleapis.com/$CHROMEDRIVER_VERSION/chromedriver_linux64.zip - unzip chromedriver_linux64.zip - chmod +x chromedriver - mv -f chromedriver $BIN_DIR - rm chromedriver_linux64.zip -fi