From: Sven Schöling Date: Thu, 5 Jan 2012 10:10:31 +0000 (+0100) Subject: installationcheck.pl: In Vorbereitung auf LaTeX die Funktionen auf perl/module umbenannt. X-Git-Tag: release-2.7.0beta1~98 X-Git-Url: http://wagnertech.de/git?a=commitdiff_plain;h=1f7d4ae37c498547306612a3e9d27cdfad2edbef;p=kivitendo-erp.git installationcheck.pl: In Vorbereitung auf LaTeX die Funktionen auf perl/module umbenannt. --- diff --git a/scripts/installation_check.pl b/scripts/installation_check.pl index 6b5eb9c28..0167cdb9b 100755 --- a/scripts/installation_check.pl +++ b/scripts/installation_check.pl @@ -39,16 +39,16 @@ if ($check{a}) { $| = 1; if ($check{r}) { - check($_, required => 1) for @SL::InstallationCheck::required_modules; + check_module($_, required => 1) for @SL::InstallationCheck::required_modules; } if ($check{o}) { - check($_, optional => 1) for @SL::InstallationCheck::optional_modules; + check_module($_, optional => 1) for @SL::InstallationCheck::optional_modules; } if ($check{d}) { - check($_, devel => 1) for @SL::InstallationCheck::developer_modules; + check_module($_, devel => 1) for @SL::InstallationCheck::developer_modules; } -sub check { +sub check_module { my ($module, %role) = @_; my $line = "Looking for $module->{fullname}"; @@ -63,7 +63,7 @@ sub check { : $role{devel} ? 'It is OPTIONAL for Lx-Office and only useful for developers.' : 'It is not listed as a dependancy yet. Please tell this the developers.'; - my @source_texts = source_texts($module); + my @source_texts = module_source_texts($module); local $" = $/; print STDERR < -Probe for all modules. +Probe for all perl modules and all LaTeX master templates. =item C<-c, --color> @@ -150,11 +150,11 @@ No color output. Helpful to avoid terminal escape problems. =item C<-d, --devel> -Probe for developer dependancies. (Used for console and tags file) +Probe for perl developer dependancies. (Used for console and tags file) =item C<--no-devel> -Dont't probe for developer dependancies. (Useful in combination with --all) +Dont't probe for perl developer dependancies. (Usefull in combination with --all) =item C<-h, --help> @@ -166,15 +166,15 @@ Probe for optional modules. =item C<--no-optional> -Dont't probe for optional modules. (Useful in combination with --all) +Dont't probe for optional perl modules. (Usefull in combination with --all) =item C<-r, --required> -Probe for required modules (default). +Probe for required perl modules (default). =item C<--no-required> -Dont't probe for required modules. (Useful in combination with --all) +Dont't probe for required perl modules. (Usefull in combination with --all) =item C<-v. --verbose>