Skip to content

Commit

Permalink
Update README
Browse files Browse the repository at this point in the history
  • Loading branch information
thombashi committed May 18, 2019
1 parent 65d97dd commit a050851
Showing 1 changed file with 6 additions and 7 deletions.
13 changes: 6 additions & 7 deletions README.rst
Original file line number Diff line number Diff line change
Expand Up @@ -217,14 +217,13 @@ Install via pip (recommended)
Install in Debian/Ubuntu from a deb package
--------------------------------------------
#. ``wget https://github.com/thombashi/tcconfig/releases/download/<version>/tcconfig_<version>_amd64.deb``
#. ``dpkg -iv tcconfig_<version>_amd64.deb``

:Example:
.. code:: console
.. code:: console
$ wget https://github.com/thombashi/tcconfig/releases/download/v0.19.0/tcconfig_0.19.0_amd64.deb
$ sudo dpkg -i tcconfig_0.19.0_amd64.deb
ARCHIVE_URL=$(curl -sL https://api.github.com/repos/thombashi/tcconfig/releases/latest | jq -r '.assets[].browser_download_url') &&
TEMP_DEB="$(mktemp)" &&
wget -O "${TEMP_DEB}" "${ARCHIVE_URL}" &&
sudo dpkg -i "${TEMP_DEB}"
rm -f "${TEMP_DEB}"
Dependencies
Expand Down

0 comments on commit a050851

Please sign in to comment.