From 0d9f73a814057ad8fbcb2d535d721fdd527cc33d Mon Sep 17 00:00:00 2001
From: Morris Jobke <hey@morrisjobke.de>
Date: Thu, 18 Jan 2018 14:55:32 +0100
Subject: [PATCH] Do not show "Not installed warning" during occ install

Signed-off-by: Morris Jobke <hey@morrisjobke.de>
---
 lib/private/Console/Application.php | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/lib/private/Console/Application.php b/lib/private/Console/Application.php
index 0a05b2ac0f3..c85b67217b4 100644
--- a/lib/private/Console/Application.php
+++ b/lib/private/Console/Application.php
@@ -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) {
-- 
GitLab