Skip to content

Commit

Permalink
Adding Atom installer toml
Browse files Browse the repository at this point in the history
  • Loading branch information
Heshdude committed Aug 11, 2020
1 parent 23bc564 commit 9d494ef
Showing 1 changed file with 35 additions and 0 deletions.
35 changes: 35 additions & 0 deletions installers/atom/installer.toml
Original file line number Diff line number Diff line change
@@ -0,0 +1,35 @@
name = "Atom"
shortname = "atom"
description = "A hackable text editor for the 21st Century"

[apt]
sh = """
wget -qO - https://packagecloud.io/AtomEditor/atom/gpgkey | @sudo apt-key add -
@sudo sh -c 'echo "deb [arch=amd64] https://packagecloud.io/AtomEditor/atom/any/ any main" > /etc/apt/sources.list.d/atom.list'
@sudo apt-get update
@sudo apt-get install atom
"""

[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 dnf install atom
"""

[pacman]
sh = """
@sudo pacman -S atom
"""

[apk]
sh = """
@sudo apk add atom
"""

[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 dnf install atom
"""

0 comments on commit 9d494ef

Please sign in to comment.