X-Git-Url: http://wagnertech.de/git?a=blobdiff_plain;f=SL%2FInstallationCheck.pm;h=cf523be2a3b468ae0803518ff00578089e92092c;hb=2508bbb1ab2056ec40635f4dda1c7023a5f3254f;hp=a399e7902549df27d23f878ae42d34737a68f6ba;hpb=8c7e44938a661e035f62840e1e177353240ace5d;p=kivitendo-erp.git diff --git a/SL/InstallationCheck.pm b/SL/InstallationCheck.pm index a399e7902..cf523be2a 100644 --- a/SL/InstallationCheck.pm +++ b/SL/InstallationCheck.pm @@ -3,24 +3,30 @@ package SL::InstallationCheck; use English '-no_match_vars'; use IO::File; -use vars qw(@required_modules); +use vars qw(@required_modules @optional_modules); + +use strict; @required_modules = ( - { "name" => "Class::Accessor", "url" => "http://search.cpan.org/~kasei/" }, - { "name" => "CGI", "url" => "http://search.cpan.org/~lds/" }, - { "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" => "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/" }, - { "name" => "Digest::MD5", "url" => "http://search.cpan.org/~gaas/" }, - ); + { name => "Archive::Zip", url => "http://search.cpan.org/~adamk/" }, + { name => "Class::Accessor", url => "http://search.cpan.org/~kasei/" }, + { 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 => "Email::Address", url => "http://search.cpan.org/~rjbs/" }, + { name => "FCGI", url => "http://search.cpan.org/~mstrout/" }, + { name => "IO::Wrap", url => "http://search.cpan.org/~dskoll/" }, + { name => "List::MoreUtils", url => "http://search.cpan.org/~vparseval/" }, + { name => "PDF::API2", url => "http://search.cpan.org/~areibens/" }, + { name => "Template", url => "http://search.cpan.org/~abw/" }, + { name => "Text::CSV_XS", url => "http://search.cpan.org/~hmbrand/" }, + { name => "Text::Iconv", url => "http://search.cpan.org/~mpiotr/" }, + { name => "URI", url => "http://search.cpan.org/~gaas/" }, + { name => "XML::Writer", url => "http://search.cpan.org/~josephw/" }, + { name => "YAML", url => "http://search.cpan.org/~ingy/" }, +); + +@optional_modules = (); sub module_available { my ($module) = @_;