mirror of
https://github.com/nextcloud/server.git
synced 2026-02-19 02:38:40 -05:00
Log a warning to CLI install command if CAN_INSTALL is not removed
Log a warning for the CLI install command if the CAN_INSTALL file still exists at the end of the installation. This matches the warning logged by the web installer. Signed-off-by: Alex Harpin <development@landsofshadow.co.uk>
This commit is contained in:
parent
72af140723
commit
d5b52ddd21
1 changed files with 3 additions and 0 deletions
|
|
@ -107,6 +107,9 @@ class Install extends Command {
|
|||
$this->printErrors($output, $errors);
|
||||
return 1;
|
||||
}
|
||||
if ($setupHelper->canInstallExists()) {
|
||||
$output->writeln('<warn>Could not remove CAN_INSTALL from the config folder. Please remove this file manually.</warn>');
|
||||
}
|
||||
$output->writeln("Nextcloud was successfully installed");
|
||||
return 0;
|
||||
}
|
||||
|
|
|
|||
Loading…
Reference in a new issue