[Author Prev][Author Next][Thread Prev][Thread Next][Author Index][Thread Index]

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



commit fad84ef936bfe825034c15c87a6ef5bfc5c079d5
Author: Arturo Filastò <art@xxxxxxxxx>
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



_______________________________________________
tor-commits mailing list
tor-commits@xxxxxxxxxxxxxxxxxxxx
https://lists.torproject.org/cgi-bin/mailman/listinfo/tor-commits