Mettre à jour 'files/atom_redhat_install.sh'

This commit is contained in:
Iwan Clément
2018-02-21 20:44:19 +00:00
parent 7d71b5ce91
commit 33ea171b45

View File

@@ -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