diff --git a/lib/Froxlor/Cli/InstallCommand.php b/lib/Froxlor/Cli/InstallCommand.php index bd8531e0a7..912435fbee 100644 --- a/lib/Froxlor/Cli/InstallCommand.php +++ b/lib/Froxlor/Cli/InstallCommand.php @@ -265,15 +265,15 @@ private function showStep(int $step = 0, bool $extended = false, array $decoded_ return $this->showStep(++$step, $extended, $decoded_input); break; case 4: - $section = $inst->formfield['install']['sections']['step' . $step] ?? []; - $this->io->section($section['title']); - $this->io->note($this->cliTextFormat($section['description'])); - $cmdfield = $section['fields']['system']; - $this->io->success([ - $cmdfield['label'], - $cmdfield['value'] - ]); if (!isset($decoded_input['manual_config']) || (bool)$decoded_input['manual_config'] === false) { + $section = $inst->formfield['install']['sections']['step' . $step] ?? []; + $this->io->section($section['title']); + $this->io->note($this->cliTextFormat($section['description'])); + $cmdfield = $section['fields']['system']; + $this->io->success([ + $cmdfield['label'], + $cmdfield['value'] + ]); if (!empty($decoded_input) || $this->io->confirm('Execute command now?', false)) { passthru($cmdfield['value']); }