Don't write the config file when --skip-config flag is given to the installer.

* scripts/installer_cli.php: Read the arguments list before checking
  if the config file is writeable.
This commit is contained in:
nee
2017-11-26 22:14:30 +01:00
parent 50f9f23ff1
commit fdd3d63098
2 changed files with 9 additions and 7 deletions

View File

@@ -47,10 +47,10 @@ class CliInstaller extends Installer
*/
function main()
{
if ($this->prepare()) {
if (!$this->checkPrereqs()) {
return false;
}
if ($this->prepare()) {
return $this->handle();
} else {
$this->showHelp();