Add extract argument to tar

This commit is contained in:
Romain Lebbadi-Breteau 2021-06-13 01:29:40 +02:00 committed by Stéphane Lesimple
parent 710b55d845
commit 2d43a7c915

View file

@ -73,7 +73,7 @@ Get the tarball of the latest release, which can be found `there <https://github
.. code-block:: shell
mkdir -p /opt/bastion
tar -C /opt/bastion v__VERSION__.tar.gz
tar -C /opt/bastion -zxf v__VERSION__.tar.gz
The code supports being hosted somewhere else on the filesystem hierarchy, but this is discouraged as you might need to adjust a lot of configuration files (notably sudoers.d, cron.d, init.d) that needs an absolute path.
You should end up with directories such as ``bin``, ``lib``, etc. directly under ``/opt/bastion``.