mirror of
https://github.com/certbot/certbot.git
synced 2026-07-27 16:30:31 +02:00
Take out sudo from bootstrap scripts
This commit is contained in:
@@ -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
-1
@@ -1,2 +1,2 @@
|
||||
#!/bin/sh
|
||||
sudo brew install augeas swig
|
||||
brew install augeas swig
|
||||
|
||||
+4
-6
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user