[tor-commits] [ooni-probe/master] Add cloudfronted domain for the tor debian repository

art at torproject.org art at torproject.org
Fri Nov 20 14:41:58 UTC 2015


commit 9f04a266db99de1518c574ff18080e863255aae3
Author: Arturo Filastò <art at fuffa.org>
Date:   Fri Jul 3 15:33:00 2015 +0200

    Add cloudfronted domain for the tor debian repository
---
 scripts/install.sh |    4 ++++
 1 file changed, 4 insertions(+)

diff --git a/scripts/install.sh b/scripts/install.sh
index 3bfc253..f55947d 100644
--- a/scripts/install.sh
+++ b/scripts/install.sh
@@ -64,6 +64,10 @@ elif command_exists busybox && busybox --list-modules | grep -q wget; then
 	curl='busybox wget -qO-'
 fi
 
+if ! (curl $TOR_DEB_REPO | grep "Apache Server at deb.torproject.org");then
+  TOR_DEB_REPO="http://d3skbh62gb3f3v.cloudfront.net/torproject.org" 
+fi
+
 # perform some very rudimentary platform detection
 lsb_dist=''
 if command_exists lsb_release; then





More information about the tor-commits mailing list