diff --git a/lib/Froxlor/Cli/InstallCommand.php b/lib/Froxlor/Cli/InstallCommand.php index cf00b6ba98..443c93cc69 100644 --- a/lib/Froxlor/Cli/InstallCommand.php +++ b/lib/Froxlor/Cli/InstallCommand.php @@ -273,8 +273,10 @@ private function showStep(int $step = 0, bool $extended = false, array $decoded_ $cmdfield['label'], $cmdfield['value'] ]); - if (!empty($decoded_input) || $this->io->confirm('Execute command now?', false)) { - passthru($cmdfield['value']); + if (!isset($decoded_input['manual_config']) || (bool)$decoded_input['manual_config'] === false) { + if (!empty($decoded_input) || $this->io->confirm('Execute command now?', false)) { + passthru($cmdfield['value']); + } } break; } @@ -305,7 +307,7 @@ private function printExampleFile(OutputInterface $output) $json_output = []; foreach ($fields['install']['sections'] as $section => $section_fields) { foreach ($section_fields['fields'] as $name => $field) { - if ($name == 'system' || $name == 'manual_config' || $name == 'target_servername') { + if ($name == 'system' || $name == 'target_servername') { continue; } if ($field['type'] == 'text' || $field['type'] == 'email') {