Mettre à jour 'files/atom_redhat_install.sh'
This commit is contained in:
@@ -4,5 +4,5 @@
|
|||||||
#cd /tmp && wget -q -t 5 -T 5 -w 5 -4 -nd "$URLROOT/$LEPKG" && dnf install -y /tmp/$LEPKG && exit 0
|
#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' && \
|
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 -u && exit 0
|
dnf install atom -y && exit 0
|
||||||
exit 1
|
exit 1
|
||||||
Reference in New Issue
Block a user