store userdata.inc.php when cli-install is finished and passthru config-services command so output can be seen

Signed-off-by: Michael Kaufmann <d00p@froxlor.org>
This commit is contained in:
Michael Kaufmann
2022-06-22 15:35:22 +02:00
parent fca80de995
commit 7f546bb096

View File

@@ -182,6 +182,7 @@ final class InstallCommand extends Command
// do actual install with data from $this->formfielddata // do actual install with data from $this->formfielddata
$core = new Core($this->formfielddata); $core = new Core($this->formfielddata);
$core->doInstall(); $core->doInstall();
$core->createUserdataConf();
} }
return $this->showStep(++$step, $extended); return $this->showStep(++$step, $extended);
break; break;
@@ -195,7 +196,7 @@ final class InstallCommand extends Command
$cmdfield['value'] $cmdfield['value']
]); ]);
if ($this->io->confirm('Execute command now?', false)) { if ($this->io->confirm('Execute command now?', false)) {
exec($cmdfield['value']); passthru($cmdfield['value']);
} }
break; break;
} }