Take out sudo from bootstrap scripts

This commit is contained in:
Jakub Warmuz 2015-04-14 14:18:11 +00:00
parent a3164ae2d9
commit 578680285f
No known key found for this signature in database
GPG key ID: 2A7BAD3A489B52EA
3 changed files with 9 additions and 11 deletions

View file

@ -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

View file

@ -1,2 +1,2 @@
#!/bin/sh
sudo brew install augeas swig
brew install augeas swig

View file

@ -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