Do not show "Not installed warning" during occ install

Signed-off-by: Morris Jobke <hey@morrisjobke.de>
This commit is contained in:
Morris Jobke 2018-01-18 14:55:32 +01:00
parent f0b7b2dedf
commit 0d9f73a814
No known key found for this signature in database
GPG key ID: FE03C3A163FEDE68

View file

@ -127,7 +127,7 @@ class Application {
}
}
}
} else if ($input->getArgument('command') !== '_completion') {
} else if ($input->getArgument('command') !== '_completion' && $input->getArgument('command') !== 'maintenance:install') {
$output->writeln("Nextcloud is not installed - only a limited number of commands are available");
}
} catch(NeedsUpdateException $e) {