mirror of
https://github.com/certbot/certbot.git
synced 2026-06-06 07:12:54 -04:00
Take out sudo from bootstrap scripts
This commit is contained in:
parent
a3164ae2d9
commit
578680285f
3 changed files with 9 additions and 11 deletions
|
|
@ -29,7 +29,7 @@ fi
|
|||
# #276, https://github.com/martinpaljak/M2Crypto/issues/62,
|
||||
# M2Crypto setup.py:add_multiarch_paths
|
||||
|
||||
sudo apt-get update
|
||||
sudo apt-get install -y --no-install-recommends \
|
||||
python python-setuptools "$virtualenv" python-dev gcc swig \
|
||||
dialog libaugeas0 libssl-dev libffi-dev ca-certificates dpkg-dev
|
||||
apt-get update
|
||||
apt-get install -y --no-install-recommends \
|
||||
python python-setuptools "$virtualenv" python-dev gcc swig \
|
||||
dialog libaugeas0 libssl-dev libffi-dev ca-certificates dpkg-dev
|
||||
|
|
|
|||
|
|
@ -1,2 +1,2 @@
|
|||
#!/bin/sh
|
||||
sudo brew install augeas swig
|
||||
brew install augeas swig
|
||||
|
|
|
|||
|
|
@ -11,6 +11,7 @@ are provided mainly for the :ref:`developers <hacking>` reference.
|
|||
|
||||
In general:
|
||||
|
||||
* ``sudo`` is required as a suggested way of running privileged process
|
||||
* `swig`_ is required for compiling `m2crypto`_
|
||||
* `augeas`_ is required for the ``python-augeas`` bindings
|
||||
|
||||
|
|
@ -20,7 +21,7 @@ Ubuntu
|
|||
|
||||
.. code-block:: shell
|
||||
|
||||
./bootstrap/ubuntu.sh
|
||||
sudo ./bootstrap/ubuntu.sh
|
||||
|
||||
|
||||
Debian
|
||||
|
|
@ -28,13 +29,10 @@ Debian
|
|||
|
||||
.. code-block:: shell
|
||||
|
||||
./bootstrap/debian.sh
|
||||
sudo ./bootstrap/debian.sh
|
||||
|
||||
For squezze you will need to:
|
||||
|
||||
- Run ``apt-get install -y --no-install-recommends sudo`` as root
|
||||
(``sudo`` is not installed by default) before running the bootstrap
|
||||
script.
|
||||
- Use ``virtualenv --no-site-packages -p python`` instead of ``-p python2``.
|
||||
- Use text mode ``sudo ./venv/bin/letsencrypt --text`` (`#280`_)
|
||||
|
||||
|
|
@ -47,7 +45,7 @@ Mac OSX
|
|||
|
||||
.. code-block:: shell
|
||||
|
||||
./bootstrap/mac.sh
|
||||
sudo ./bootstrap/mac.sh
|
||||
|
||||
|
||||
Installation
|
||||
|
|
|
|||
Loading…
Reference in a new issue