Skip to content

Commit

Permalink
Update theo-agent install script to reflect file renaming in 0.9.0
Browse files Browse the repository at this point in the history
  • Loading branch information
macno committed May 1, 2019
1 parent fb3dd0d commit d09fdc1
Showing 1 changed file with 4 additions and 6 deletions.
10 changes: 4 additions & 6 deletions docs/theo-agent/installation.rst
Original file line number Diff line number Diff line change
Expand Up @@ -9,11 +9,9 @@ Download

::

# Linux x86-64
sudo curl -L -o /usr/sbin/theo-agent https://github.com/theoapp/theo-agent/releases/download/$(curl -L -s -H 'Accept: application/json' https://github.com/theoapp/theo-agent/releases/latest |sed -e 's/.*"tag_name":"\([^"]*\)".*/\1/')/theo-agent-linux-amd64

# Linux arm
sudo curl -L -o /usr/sbin/theo-agent https://github.com/theoapp/theo-agent/releases/download/$(curl -L -s -H 'Accept: application/json' https://github.com/theoapp/theo-agent/releases/latest |sed -e 's/.*"tag_name":"\([^"]*\)".*/\1/')/theo-agent-linux-arm
THEO_AGENT_LATEST=$(curl -L -s -H 'Accept: application/json' https://github.com/theoapp/theo-agent/releases/latest |sed -e 's/.*"tag_name":"\([^"]*\)".*/\1/')
sudo curl -L -o /usr/sbin/theo-agent \
https://github.com/theoapp/theo-agent/releases/download/${THEO_AGENT_LATEST}/theo-agent-$(uname -s)-$(uname -m)

2. Make it executable
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
Expand Down Expand Up @@ -115,7 +113,7 @@ Download
6. SELinux
^^^^^^^^^^

If you're on a system with SELinux enabled (You can check it with: `getenforce`), you must switch sshd to permissive mode:
If you're on a system with SELinux enabled (You can check it with: `getenforce`), you must switch sshd to permissive mode:

::

Expand Down

0 comments on commit d09fdc1

Please sign in to comment.