]> wagnertech.de Git - mfinanz.git/blobdiff - scripts/installation_check.pl
SelfTests: Weitere Randfälle zumindestens in der Analyse-Ausgabe erwähnen
[mfinanz.git] / scripts / installation_check.pl
index 1b645733c774780ac8a8a4163f139359c8c0a1ba..d32951b70293e5c8f4cd7c52524d25cc0bc563e6 100755 (executable)
@@ -71,16 +71,14 @@ if (!defined $check{a}
 }
 
 if ($check{a}) {
-  foreach my $check (keys %check) {
-    $check{$check} = 1 unless defined $check{$check};
-  }
+  $check{$_} //= 1 for qw(o d l r);
 }
 
 
 $| = 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.')
+  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 configuration.')
 } else {
   SL::InstallationCheck::check_for_conditional_dependencies();
 }