From 124a811262715062ffc076ccd597ab3584f844df Mon Sep 17 00:00:00 2001 From: Matthijs van der Burgh Date: Wed, 15 Nov 2023 10:16:53 +0100 Subject: [PATCH] [chrome] convert to yaml --- chrome/install.bash | 14 -------------- chrome/install.yaml | 5 +++++ 2 files changed, 5 insertions(+), 14 deletions(-) delete mode 100644 chrome/install.bash create mode 100644 chrome/install.yaml diff --git a/chrome/install.bash b/chrome/install.bash deleted file mode 100644 index b63f0a59e..000000000 --- a/chrome/install.bash +++ /dev/null @@ -1,14 +0,0 @@ -#! /usr/bin/env bash - -if [ ! -f /etc/apt/sources.list.d/google-chrome.list ] -then - tue-install-echo "Adding Chrome sources to apt-get" - wget -q -O - https://dl-ssl.google.com/linux/linux_signing_key.pub | sudo apt-key add - - sudo sh -c 'echo "deb [arch=amd64] http://dl.google.com/linux/chrome/deb/ stable main" >> /etc/apt/sources.list.d/google-chrome.list' - tue-install-apt-get-update - tue-install-debug "Added Chrome sources to apt-get succesfully" -else - tue-install-debug "Chrome sources already added to apt-get" -fi - -tue-install-system google-chrome-stable diff --git a/chrome/install.yaml b/chrome/install.yaml new file mode 100644 index 000000000..cba4b65c6 --- /dev/null +++ b/chrome/install.yaml @@ -0,0 +1,5 @@ +- type: target + name: chrome-setup + +- type: system + name: google-chrome-stable