Browse Source

laravel-china repo down, change to aliyun

神の尾巴 5 years ago
parent
commit
1147ad85cd
1 changed files with 1 additions and 1 deletions
  1. 1 1
      include/composer.sh

+ 1 - 1
include/composer.sh

@@ -18,7 +18,7 @@ Install_composer() {
       PUBLIC_IPADDR=$(../include/get_public_ipaddr.py)
       IPADDR_COUNTRY=$(../include/get_ipaddr_state.py ${PUBLIC_IPADDR})
       if [ "${IPADDR_COUNTRY}"x == "CN"x ]; then
-        wget -c https://dl.laravel-china.org/composer.phar -O /usr/local/bin/composer > /dev/null 2>&1
+        wget -c https://mirrors.aliyun.com/composer/composer.phar -O /usr/local/bin/composer > /dev/null 2>&1
         ${php_install_dir}/bin/php /usr/local/bin/composer config -g repo.packagist composer https://packagist.phpcomposer.com
       else
         wget -c https://getcomposer.org/composer.phar -O /usr/local/bin/composer > /dev/null 2>&1