Merge pull request #21064 from owncloud/fix-occ-install-on-os-x
Allow occ install on OS X - same behaviour as web setup
This commit is contained in:
commit
ff656e31f1
|
@ -68,8 +68,13 @@ class Install extends Command {
|
|||
$errors = $sysInfo['errors'];
|
||||
if (count($errors) > 0) {
|
||||
$this->printErrors($output, $errors);
|
||||
|
||||
// ignore the OS X setup warning
|
||||
if(count($errors) !== 1 ||
|
||||
(string)($errors[0]['error']) !== 'Mac OS X is not supported and ownCloud will not work properly on this platform. Use it at your own risk! ') {
|
||||
return 1;
|
||||
}
|
||||
}
|
||||
|
||||
// validate user input
|
||||
$options = $this->validateInput($input, $output, array_keys($sysInfo['databases']));
|
||||
|
|
Loading…
Reference in New Issue