mirror of
https://github.com/invoiceninja/invoiceninja.git
synced 2024-11-10 13:12:50 +01:00
Merge pull request #4508 from turbo124/v5-develop
Adjustments for post update
This commit is contained in:
commit
9b259ed3d0
@ -55,6 +55,7 @@ class PostUpdate extends Command
|
||||
|
||||
info("finished migrating");
|
||||
|
||||
try {
|
||||
putenv('COMPOSER_HOME=' . __DIR__ . '/vendor/bin/composer');
|
||||
|
||||
$input = new ArrayInput(['command' => 'install', '--no-dev' => 'true']);
|
||||
@ -62,6 +63,10 @@ class PostUpdate extends Command
|
||||
$application->setAutoExit(false);
|
||||
$output = new BufferedOutput();
|
||||
$application->run($input, $output);
|
||||
}catch(\Exception $e) {
|
||||
info("i wasn't able to compser install");
|
||||
info(print_r($e->getMessage(),1));
|
||||
}
|
||||
|
||||
info("finished running composer install ");
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user