Skip to content

Commit

Permalink
update composer源
Browse files Browse the repository at this point in the history
  • Loading branch information
banyancheung committed Jul 22, 2019
1 parent eccbd30 commit 73c2215
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions build/php.sh
Original file line number Diff line number Diff line change
Expand Up @@ -323,7 +323,7 @@ ln -s /home/worker/php/bin/php /usr/local/bin/php

echo "---------- Install Composer... ---------- "
export COMPOSER_HOME=/home/worker/
wget https://dl.laravel-china.org/composer.phar -O /usr/local/bin/composer
wget https://getcomposer.org/download/1.8.6/composer.phar -O /usr/local/bin/composer
chmod a+x /usr/local/bin/composer
composer config -g repo.packagist composer https://packagist.laravel-china.org
composer config -g repo.packagist composer https://mirrors.aliyun.com/composer/
echo "---------- Install Composer...done ---------- "

0 comments on commit 73c2215

Please sign in to comment.