Skip to content

Commit

Permalink
Fix the incorrect escape sequence
Browse files Browse the repository at this point in the history
  • Loading branch information
Heshdude committed Aug 16, 2020
1 parent c43a246 commit 04f3e8a
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions installers/atom/installer.toml
Original file line number Diff line number Diff line change
Expand Up @@ -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
"""

Expand All @@ -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
"""

0 comments on commit 04f3e8a

Please sign in to comment.