Skip to content

Commit

Permalink
change cn2 php mirror to jp2
Browse files Browse the repository at this point in the history
  • Loading branch information
licess committed Aug 24, 2018
1 parent c4dd908 commit 144d3c1
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion include/upgrade_php.sh
Original file line number Diff line number Diff line change
Expand Up @@ -33,7 +33,7 @@ Start_Upgrade_PHP()
cd ${cur_dir}/src
country=`curl -sSk --connect-timeout 10 -m 60 https://ip.vpser.net/country`
if [ "${country}" = "CN" ]; then
wget -c --progress=bar:force http://cn2.php.net/distributions/php-${php_version}.tar.bz2
wget -c --progress=bar:force http://jp2.php.net/distributions/php-${php_version}.tar.bz2
if [ $? -ne 0 ]; then
wget -c --progress=bar:force http://php.net/distributions/php-${php_version}.tar.bz2
fi
Expand Down

0 comments on commit 144d3c1

Please sign in to comment.