mirror of
https://github.com/snipe/snipe-it.git
synced 2024-11-09 23:24:06 -08:00
Update local instance of composer.phar on upgrade.
This commit is contained in:
parent
be79a1f3d6
commit
7e3f718797
|
@ -109,6 +109,10 @@ echo "--------------------------------------------------------\n\n";
|
|||
// Composer install
|
||||
if (file_exists('composer.phar')) {
|
||||
echo "-- Local composer.phar detected, so we'll use that.\n\n";
|
||||
echo "-- Updating local composer.phar\n\n";
|
||||
$composer_update = shell_exec('php composer.phar self-update');
|
||||
echo $composer_update."\n\n";
|
||||
|
||||
$composer_dump = shell_exec('php composer.phar dump');
|
||||
$composer = shell_exec('php composer.phar install --no-dev --prefer-source');
|
||||
|
||||
|
|
Loading…
Reference in a new issue