mirror of
https://github.com/snipe/snipe-it.git
synced 2024-12-25 05:34:06 -08:00
Update local instance of composer.phar on upgrade. (#7940)
Co-authored-by: Johnny Moore <jmoore@eventide.com>
This commit is contained in:
commit
7f18983a49
|
@ -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