forked from extern/egroupware
added more Info to setup-cli --check; List applications that are not installed.
This commit is contained in:
parent
c49d305932
commit
4005da15d2
@ -593,12 +593,21 @@ function do_check($domain='',$stop=0)
|
|||||||
|
|
||||||
case 10: // also check apps of updates
|
case 10: // also check apps of updates
|
||||||
$apps_to_upgrade = array();
|
$apps_to_upgrade = array();
|
||||||
|
$apps_to_install = array();
|
||||||
foreach($setup_info as $app => $data)
|
foreach($setup_info as $app => $data)
|
||||||
{
|
{
|
||||||
if ($data['currentver'] && $data['version'] && $data['version'] != $data['currentver'])
|
if ($data['currentver'] && $data['version'] && $data['version'] != $data['currentver'])
|
||||||
{
|
{
|
||||||
$apps_to_upgrade[] = $app;
|
$apps_to_upgrade[] = $app;
|
||||||
}
|
}
|
||||||
|
if (!isset($data['enabled']))
|
||||||
|
{
|
||||||
|
$apps_to_install[] = $app;
|
||||||
|
}
|
||||||
|
}
|
||||||
|
if ($apps_to_install)
|
||||||
|
{
|
||||||
|
echo "\n".lang('The following applications are NOT installed:').' '.implode(', ',$apps_to_install)."\n";
|
||||||
}
|
}
|
||||||
if ($apps_to_upgrade)
|
if ($apps_to_upgrade)
|
||||||
{
|
{
|
||||||
|
Loading…
Reference in New Issue
Block a user