X-Git-Url: http://wagnertech.de/git?a=blobdiff_plain;f=SL%2FInstallationCheck.pm;h=19b13c5e012ef832d5f1f2badceb1684c75573a6;hb=0c016be57a7bcd130351bbf2334461817f88305d;hp=6ae14948b1c4ec242d75f0b1ce7d0cb69c2cc859;hpb=caf4380789ea2166eaf89f7a600406f850d64428;p=kivitendo-erp.git diff --git a/SL/InstallationCheck.pm b/SL/InstallationCheck.pm index 6ae14948b..19b13c5e0 100644 --- a/SL/InstallationCheck.pm +++ b/SL/InstallationCheck.pm @@ -15,7 +15,7 @@ BEGIN { { name => "Config::Std", url => "http://search.cpan.org/~dconway/", debian => 'libconfig-std-perl' }, { name => "DateTime", url => "http://search.cpan.org/~drolsky/", debian => 'libdatetime-perl' }, { name => "DBI", version => '1.50', url => "http://search.cpan.org/~timb/", debian => 'libdbi-perl' }, - { name => "DBD::Pg", version => '1.49', url => "http://search.cpan.org/~dbdpg/", debian => 'libdbd-pg' }, + { name => "DBD::Pg", version => '1.49', url => "http://search.cpan.org/~dbdpg/", debian => 'libdbd-pg-perl' }, { name => "Email::Address", url => "http://search.cpan.org/~rjbs/", debian => 'libemail-address-perl' }, { name => "FCGI", version => '0.72', url => "http://search.cpan.org/~mstrout/", debian => 'libfcgi-perl' }, { name => "JSON", url => "http://search.cpan.org/~makamaka", debian => 'libjson-perl' }, @@ -49,6 +49,7 @@ BEGIN { { name => "Moose::Role", url => "http://search.cpan.org/~doy/", debian => 'libmoose-role-perl' }, { name => "Perl::Tags", url => "http://search.cpan.org/~osfameron/", debian => 'libperl-tags-perl' }, { name => "Test::Deep", url => "http://search.cpan.org/~rjbs/", debian => 'libtest-deep-perl' }, + { name => "GD", version => '2.00', url => "http://search.cpan.org/~lds/", debian => 'libgd-perl' }, ); $_->{fullname} = join ' ', grep $_, @$_{qw(name version)} @@ -60,7 +61,7 @@ sub module_available { my $module = $_[0]; my $version = $_[1] || '' ; - my $got = eval "use $module $version; 1"; + my $got = eval "use $module $version (); 1"; if ($got) { return ($got, $module->VERSION);