From d4153d53a99ff2191c4717dfa09199ab6b2d5db4 Mon Sep 17 00:00:00 2001 From: Gerhard Schlager Date: Mon, 25 Mar 2019 15:24:58 +0100 Subject: [PATCH] Remove chromedriver; import script installs latest version --- templates/import/chrome-dep.template.yml | 6 ++---- 1 file changed, 2 insertions(+), 4 deletions(-) diff --git a/templates/import/chrome-dep.template.yml b/templates/import/chrome-dep.template.yml index ca9bac3..31f1ee4 100644 --- a/templates/import/chrome-dep.template.yml +++ b/templates/import/chrome-dep.template.yml @@ -1,4 +1,4 @@ -# This template installs Chrome and ChromeDriver for imports +# This template installs Chrome for imports hooks: after_bundle_exec: @@ -7,6 +7,4 @@ hooks: cmd: - curl -sS -o - https://dl-ssl.google.com/linux/linux_signing_key.pub | apt-key add - echo "deb [arch=amd64] http://dl.google.com/linux/chrome/deb/ stable main" >> /etc/apt/sources.list.d/google-chrome.list - - apt-get update && DEBIAN_FRONTEND=noninteractive apt-get install -y unzip google-chrome-stable - - LATEST_VERSION=$(curl -s https://chromedriver.storage.googleapis.com/LATEST_RELEASE) && wget https://chromedriver.storage.googleapis.com/$LATEST_VERSION/chromedriver_linux64.zip - - unzip chromedriver_linux64.zip -d /usr/local/bin + - apt-get update && DEBIAN_FRONTEND=noninteractive apt-get install -y google-chrome-stable \ No newline at end of file -- 2.25.1