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

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



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



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