From 33ea171b4547e56cbcc79d9dfe55bf239ec94147 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Iwan=20Cl=C3=A9ment?= Date: Wed, 21 Feb 2018 20:44:19 +0000 Subject: [PATCH] =?UTF-8?q?Mettre=20=C3=A0=20jour=20'files/atom=5Fredhat?= =?UTF-8?q?=5Finstall.sh'?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- files/atom_redhat_install.sh | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/files/atom_redhat_install.sh b/files/atom_redhat_install.sh index dcccd16..570e2d8 100644 --- a/files/atom_redhat_install.sh +++ b/files/atom_redhat_install.sh @@ -1,3 +1,5 @@ #!/bin/bash -cd /tmp && wget -q -t 5 -T 5 -w 5 -4 -nd https://atom.io/download/rpm && dnf install -y rpm && exit 0 +URLROOT="https://github.com/atom/atom/releases/download/v1.24.0" +LEPKG="atom.x86_64.rpm" +cd /tmp && wget -q -t 5 -T 5 -w 5 -4 -nd "$URLROOT/$LEPKG" && dnf install -y $LEPKG && exit 0 exit 1 \ No newline at end of file