X-Git-Url: http://wagnertech.de/git?a=blobdiff_plain;f=scripts%2Finstallation_check.pl;h=2bec003cd76f4b05acad1c2250bf8520eeccdce8;hb=8adb211a4983c297ce4b9b6e59136ffb141a5421;hp=03b0ae57445b72a9736795e830e72b6e25eefbe0;hpb=e293009f4e1d70e547a479e956fd1733c24b1441;p=kivitendo-erp.git diff --git a/scripts/installation_check.pl b/scripts/installation_check.pl index 03b0ae574..2bec003cd 100755 --- a/scripts/installation_check.pl +++ b/scripts/installation_check.pl @@ -13,7 +13,28 @@ BEGIN { $master_templates = './templates/print/'; } +unless (eval { require Config::Std; 1 }){ + print STDERR <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; - print_header('Standard check for required modules done. See additional parameters for more checks (-- help)') if $default_run; + print_header('Standard check for required modules done. See additional parameters for more checks (--help)') if $default_run; } if ($check{o}) { print_header('Checking Optional Modules');