mirror of
https://github.com/torrentpier/torrentpier
synced 2025-08-14 18:48:21 -07:00
misc: Composer dependencies are installed according to the minimum supported PHP version (#1881)
This commit is contained in:
parent
ec0efe5790
commit
5c4972ec12
4 changed files with 59 additions and 120 deletions
|
@ -257,6 +257,8 @@ if (!is_file(BB_ROOT . 'vendor/autoload.php')) {
|
|||
// Installing dependencies
|
||||
if (is_file(BB_ROOT . 'composer.phar')) {
|
||||
out('- Installing dependencies...', 'info');
|
||||
runProcess('php ' . BB_ROOT . 'composer.phar update --no-install');
|
||||
sleep(3);
|
||||
runProcess('php ' . BB_ROOT . 'composer.phar install --no-interaction --no-ansi');
|
||||
define('COMPOSER_COMPLETED', true);
|
||||
} else {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue