Recopie initiale
This commit is contained in:
8
files/atom_redhat_install.sh
Normal file
8
files/atom_redhat_install.sh
Normal file
@@ -0,0 +1,8 @@
|
||||
#!/bin/bash
|
||||
#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 /tmp/$LEPKG && exit 0
|
||||
|
||||
rpm --import https://packagecloud.io/AtomEditor/atom/gpgkey && sh -c 'echo -e "[Atom]\nname=Atom Editor\nbaseurl=https://packagecloud.io/AtomEditor/atom/el/7/\$basearch\nenabled=1\ngpgcheck=0\nrepo_gpgcheck=1\ngpgkey=https://packagecloud.io/AtomEditor/atom/gpgkey" > /etc/yum.repos.d/atom.repo' && \
|
||||
dnf install atom -y && exit 0
|
||||
exit 1
|
||||
Reference in New Issue
Block a user