Rename template for consistency

Rename template for consistency

From fd25bb96333032adaae8c8577a3f780441466dd9 Mon Sep 17 00:00:00 2001
From: Gerhard Schlager <mail@gerhard-schlager.at>
Date: Wed, 31 Oct 2018 17:33:25 +0100
Subject: [PATCH] Rename template for consistency


diff --git a/templates/import/chrome-dep.template.yml b/templates/import/chrome-dep.template.yml
new file mode 100644
index 0000000..ca9bac3
--- /dev/null
+++ b/templates/import/chrome-dep.template.yml
@@ -0,0 +1,12 @@
+# This template installs Chrome and ChromeDriver for imports
+
+hooks:
+  after_bundle_exec:
+  - exec:
+      cd: /tmp
+      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
diff --git a/templates/import/chrome-dep.yml b/templates/import/chrome-dep.yml
deleted file mode 100644
index ca9bac3..0000000
--- a/templates/import/chrome-dep.yml
+++ /dev/null
@@ -1,12 +0,0 @@
-# This template installs Chrome and ChromeDriver for imports
-
-hooks:
-  after_bundle_exec:
-  - exec:
-      cd: /tmp
-      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

GitHub

1 Like