From 233fab9c201523a5098f2a91e3a79309af13bb17 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Iwan=20Cl=C3=A9ment?= Date: Sun, 20 May 2018 14:24:20 +0000 Subject: [PATCH] =?UTF-8?q?Mettre=20=C3=A0=20jour=20'softwares/chrome.sls'?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- softwares/chrome.sls | 13 ++++++++----- 1 file changed, 8 insertions(+), 5 deletions(-) diff --git a/softwares/chrome.sls b/softwares/chrome.sls index 32ffe76..c27b7a9 100644 --- a/softwares/chrome.sls +++ b/softwares/chrome.sls @@ -1,6 +1,9 @@ +{% if grains['kernel'] == 'Linux' %} + # Ajout du repository + # deb [arch=amd64] https://dl.google.com/linux/chrome/deb/ stable main" > /etc/apt/sources.list.d/google-chrome.list' + {% if grains['os_family'] == 'Debian' %} + {% elif grains['os_family'] == 'Redhat' %} + {% endif %} -# Ajout du repository -# deb [arch=amd64] https://dl.google.com/linux/chrome/deb/ stable main" > /etc/apt/sources.list.d/google-chrome.list' - - -Ajout du reposity Google: \ No newline at end of file +Ajout du reposity Google: +{% endif %} \ No newline at end of file