change ez_setup.py download URL
This commit is contained in:
parent
42abc7b517
commit
ca9484a57f
|
|
@ -144,7 +144,7 @@ function pre_install(){
|
||||||
# Download files
|
# Download files
|
||||||
function download_files(){
|
function download_files(){
|
||||||
if [ "$OS" == 'CentOS' ]; then
|
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!"
|
echo "Failed to download ez_setup.py!"
|
||||||
exit 1
|
exit 1
|
||||||
fi
|
fi
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue
Block a user