|
@@ -49,6 +49,7 @@ class UpdateFlowdatModulesCommand extends Command
|
|
|
|
|
|
$content = parse_ini_file($realpath, true);
|
|
$content = parse_ini_file($realpath, true);
|
|
$error = '';
|
|
$error = '';
|
|
|
|
+ $content['extra'] = [];
|
|
foreach ($content as $sec => $conf) {
|
|
foreach ($content as $sec => $conf) {
|
|
try {
|
|
try {
|
|
$output->writeln('-------------------------------------------------------------------------------------');
|
|
$output->writeln('-------------------------------------------------------------------------------------');
|
|
@@ -62,11 +63,12 @@ class UpdateFlowdatModulesCommand extends Command
|
|
$output->writeln("\tComando: " . $command);
|
|
$output->writeln("\tComando: " . $command);
|
|
$resp = shell_exec ($command);
|
|
$resp = shell_exec ($command);
|
|
$output->writeln($resp);
|
|
$output->writeln($resp);
|
|
-
|
|
|
|
- $command = "docker-compose exec " . $sec . " composer install";
|
|
|
|
- $output->writeln("\tComando: " . $command);
|
|
|
|
- $resp = shell_exec ($command);
|
|
|
|
- $output->writeln($resp);
|
|
|
|
|
|
+ if (count($conf) > 0) {
|
|
|
|
+ $command = "docker-compose exec " . $sec . " composer install";
|
|
|
|
+ $output->writeln("\tComando: " . $command);
|
|
|
|
+ $resp = shell_exec ($command);
|
|
|
|
+ $output->writeln($resp);
|
|
|
|
+ }
|
|
} catch (\Throwable $t) {
|
|
} catch (\Throwable $t) {
|
|
$error .= $t->getTraceAsString() . "\n";
|
|
$error .= $t->getTraceAsString() . "\n";
|
|
}
|
|
}
|