X-Git-Url: http://wagnertech.de/git?a=blobdiff_plain;f=SL%2FInstallationCheck.pm;h=e82298ea889f243b72e46032f483ed6ae6399c85;hb=9198a41442e997dc37eb80d3a30eab7136d58208;hp=5f44cd2d4ba68e30886134477a02acf59d72e525;hpb=f6e5b55ae22f3fda6863e8a14e07bc8ca6664564;p=kivitendo-erp.git diff --git a/SL/InstallationCheck.pm b/SL/InstallationCheck.pm index 5f44cd2d4..e82298ea8 100644 --- a/SL/InstallationCheck.pm +++ b/SL/InstallationCheck.pm @@ -8,11 +8,14 @@ use vars qw(@required_modules); { "name" => "CGI::Ajax", "url" => "http://search.cpan.org/~bct/" }, { "name" => "DBI", "url" => "http://search.cpan.org/~timb/" }, { "name" => "DBD::Pg", "url" => "http://search.cpan.org/~dbdpg/" }, - { "name" => "HTML::Template", "url" => "http://search.cpan.org/~samtregar/" }, { "name" => "Archive::Zip", "url" => "http://search.cpan.org/~adamk/" }, { "name" => "Text::Iconv", "url" => "http://search.cpan.org/~mpiotr/" }, { "name" => "Time::HiRes", "url" => "http://search.cpan.org/~jhi/" }, { "name" => "YAML", "url" => "http://search.cpan.org/~ingy/" }, + { "name" => "IO::Wrap", "url" => "http://search.cpan.org/~dskoll/" }, + { "name" => "Text::CSV_XS", "url" => "http://search.cpan.org/~hmbrand/" }, + { "name" => "List::Util", "url" => "http://search.cpan.org/~gbarr/" }, + { "name" => "Template", "url" => "http://search.cpan.org/~abw/" }, ); sub module_available { @@ -26,12 +29,7 @@ sub module_available { } sub test_all_modules { - my @missing_modules; - - map({ push(@missing_modules, $_) unless (module_available($_->{"name"})); } - @required_modules); - - return @missing_modules; + return grep { !module_available($_->{name}) } @required_modules; } 1;