change ez_setup.py download URL

This commit is contained in:
Teddysun 2015-11-29 23:04:58 +08:00
parent 42abc7b517
commit ca9484a57f

View File

@ -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