From: Sven Schöling Date: Wed, 30 Nov 2011 16:48:57 +0000 (+0100) Subject: developer module in installation check X-Git-Tag: release-2.7.0beta1~153 X-Git-Url: http://wagnertech.de/git?a=commitdiff_plain;h=2d1086dfd924b46bfdf0ac9fc31ce0be1f07631f;p=kivitendo-erp.git developer module in installation check --- diff --git a/SL/InstallationCheck.pm b/SL/InstallationCheck.pm index ef1baba5a..91216a11c 100644 --- a/SL/InstallationCheck.pm +++ b/SL/InstallationCheck.pm @@ -3,7 +3,7 @@ package SL::InstallationCheck; use English '-no_match_vars'; use IO::File; -use vars qw(@required_modules @optional_modules); +use vars qw(@required_modules @optional_modules @developer_modules); use strict; @@ -35,8 +35,15 @@ BEGIN { @optional_modules = (); +@developer_modules = ( + { name => "Devel::REPL", url => "http://search.cpan.org/~doy/", debian => 'libdevel-repl-perl' }, + { 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' }, +); + $_->{fullname} = join ' ', grep $_, @$_{qw(name version)} - for @required_modules, @optional_modules; + for @required_modules, @optional_modules, @developer_modules; + } sub module_available {