From: Wulf Date: Thu, 20 Sep 2012 12:59:08 +0000 (+0200) Subject: Bessere Fehlermeldung fuer nicht-Techniker X-Git-Tag: release-3.0.0beta1~232^2 X-Git-Url: http://wagnertech.de/git?a=commitdiff_plain;h=8adb211a4983c297ce4b9b6e59136ffb141a5421;p=kivitendo-erp.git Bessere Fehlermeldung fuer nicht-Techniker scipts/installation_check.pl benotigt Config::Std als != core Modul wenn dies Fehlt laesst sich der installationscheck nicht ausfuehren -> Henne/Ei --- diff --git a/SL/InstallationCheck.pm b/SL/InstallationCheck.pm index 397a99f24..d29578b41 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' }, diff --git a/scripts/installation_check.pl b/scripts/installation_check.pl index a50d184d2..2bec003cd 100755 --- a/scripts/installation_check.pl +++ b/scripts/installation_check.pl @@ -13,9 +13,29 @@ BEGIN { $master_templates = './templates/print/'; } +unless (eval { require Config::Std; 1 }){ + print STDERR <