diff --git a/installers/atom/installer.toml b/installers/atom/installer.toml index 7124320..1d0127f 100644 --- a/installers/atom/installer.toml +++ b/installers/atom/installer.toml @@ -13,7 +13,7 @@ wget -qO - https://packagecloud.io/AtomEditor/atom/gpgkey | @sudo apt-key add - [yum] sh = """ @sudo rpm --import https://packagecloud.io/AtomEditor/atom/gpgkey -@sudo 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' +@sudo 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' @sudo dnf install atom """ @@ -30,6 +30,6 @@ sh = """ [dnf] sh = """ @sudo rpm --import https://packagecloud.io/AtomEditor/atom/gpgkey -@sudo 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' +@sudo 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' @sudo dnf install atom """