[tor-commits] [ooni-probe/develop] Actually we are already root, no need for sudo

isis at torproject.org isis at torproject.org
Wed Jun 26 01:02:11 UTC 2013


commit fad84ef936bfe825034c15c87a6ef5bfc5c079d5
Author: Arturo Filastò <art at fuffa.org>
Date:   Thu Jun 13 14:56:59 2013 +0200

    Actually we are already root, no need for sudo
---
 Vagrantfile |    4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/Vagrantfile b/Vagrantfile
index 10ec592..7a03508 100644
--- a/Vagrantfile
+++ b/Vagrantfile
@@ -131,7 +131,7 @@ cd /tmp/
 curl -O https://raw.github.com/pypa/pip/master/contrib/get-pip.py
 python ./get-pip.py  ## pip (>=1.3.0) is recommended for security reasons
 
-sudo update-alternatives --install /usr/bin/pip pip /usr/local/bin/pip 0
+update-alternatives --install /usr/bin/pip pip /usr/local/bin/pip 0
 
 cd /data/ooniprobe
 
@@ -140,7 +140,7 @@ pip install pyrex
 pip install -r requirements.txt
 
 echo "Installing ooniprobe"
-sudo python setup.py install
+python setup.py install
 
 echo "Fetching all inputs"
 cd /data/ooniprobe/inputs





More information about the tor-commits mailing list