From 7f546bb096840339bec2b24115ceebd4c068f3d1 Mon Sep 17 00:00:00 2001 From: Michael Kaufmann Date: Wed, 22 Jun 2022 15:35:22 +0200 Subject: [PATCH] store userdata.inc.php when cli-install is finished and passthru config-services command so output can be seen Signed-off-by: Michael Kaufmann --- lib/Froxlor/Cli/InstallCommand.php | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/lib/Froxlor/Cli/InstallCommand.php b/lib/Froxlor/Cli/InstallCommand.php index be1415a5..a0a45a77 100644 --- a/lib/Froxlor/Cli/InstallCommand.php +++ b/lib/Froxlor/Cli/InstallCommand.php @@ -182,6 +182,7 @@ final class InstallCommand extends Command // do actual install with data from $this->formfielddata $core = new Core($this->formfielddata); $core->doInstall(); + $core->createUserdataConf(); } return $this->showStep(++$step, $extended); break; @@ -195,7 +196,7 @@ final class InstallCommand extends Command $cmdfield['value'] ]); if ($this->io->confirm('Execute command now?', false)) { - exec($cmdfield['value']); + passthru($cmdfield['value']); } break; }