X-Git-Url: http://wagnertech.de/git?a=blobdiff_plain;f=scripts%2Finstallation_check.pl;h=a50d184d2863e06a91d2e05c5e34dae7b92fb1a0;hb=5ee95a8f01b5854ca9d5acf5d80c23dbe564c19f;hp=def85906c9f3b88bc9ec34a88e1aecbb1063fe51;hpb=1bc5165546da59c9b7317e0ba790eb9b43c10e21;p=kivitendo-erp.git diff --git a/scripts/installation_check.pl b/scripts/installation_check.pl index def85906c..a50d184d2 100755 --- a/scripts/installation_check.pl +++ b/scripts/installation_check.pl @@ -14,6 +14,7 @@ BEGIN { } use SL::InstallationCheck; +use SL::LxOfficeConf; my %check; Getopt::Long::Configure ("bundling"); @@ -47,6 +48,12 @@ if ($check{a}) { $| = 1; +if (!SL::LxOfficeConf->read(undef, 'may fail')) { + print_header('Could not load the config file. If you have dependancies from any features enabled in the configuration these will still show up as optional because of this. Please rerun this script after installing the dependancies needed to load the cofiguration.') +} else { + SL::InstallationCheck::check_for_conditional_dependencies(); +} + if ($check{r}) { print_header('Checking Required Modules'); check_module($_, required => 1) for @SL::InstallationCheck::required_modules;