mirror of
https://github.com/nextcloud/server.git
synced 2024-08-30 05:55:15 +02:00
Allow occ install on OS X - same behaviour as web setup
This commit is contained in:
parent
51b5498be8
commit
d39b018893
@ -68,7 +68,12 @@ class Install extends Command {
|
|||||||
$errors = $sysInfo['errors'];
|
$errors = $sysInfo['errors'];
|
||||||
if (count($errors) > 0) {
|
if (count($errors) > 0) {
|
||||||
$this->printErrors($output, $errors);
|
$this->printErrors($output, $errors);
|
||||||
return 1;
|
|
||||||
|
// 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
|
// validate user input
|
||||||
|
Loading…
Reference in New Issue
Block a user