From ca9484a57fb96e646e1f1084f284c275109fe3c8 Mon Sep 17 00:00:00 2001 From: Teddysun Date: Sun, 29 Nov 2015 23:04:58 +0800 Subject: [PATCH] change ez_setup.py download URL --- shadowsocks.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/shadowsocks.sh b/shadowsocks.sh index 5755e13..0132357 100644 --- a/shadowsocks.sh +++ b/shadowsocks.sh @@ -144,7 +144,7 @@ function pre_install(){ # Download files function download_files(){ if [ "$OS" == 'CentOS' ]; then - if ! wget --no-check-certificate -O ez_setup.py https://bootstrap.pypa.io/ez_setup.py; then + if ! wget -t3 -T30 http://lamp.teddysun.com/ez_setup.py; then echo "Failed to download ez_setup.py!" exit 1 fi