Bug 4844 Remove a circular dependency in koha_perl_deps.pl
authorColin Campbell <colin.campbell@ptfs-europe.com>
Tue, 1 Jun 2010 16:52:12 +0000 (17:52 +0100)
committerGalen Charlton <gmcharlt@gmail.com>
Thu, 3 Jun 2010 23:59:10 +0000 (19:59 -0400)
Remove 'use Installer' which had external dependencies we're trying to
report on. Instead call Installer::PerlModules directly

added use warnings and strict
updated FSF address in License statement

Signed-off-by: Galen Charlton <gmcharlt@gmail.com>
koha_perl_deps.pl

index 5557f7a..934dea5 100755 (executable)
@@ -7,7 +7,10 @@ use FindBin; # we need to enforce which C4::Installer is used in case more than
 
 use lib $FindBin::Bin;
 
-use C4::Installer;
+use C4::Installer::PerlModules;
+
+use strict;
+use warnings;
 
 my $help = 0;
 my $missing = 0;
@@ -135,8 +138,9 @@ This file is part of Koha.
 Koha is free software; you can redistribute it and/or modify it under the terms of the GNU General Public License as published by the Free Software
 Foundation; either version 2 of the License, or (at your option) any later version.
 
-You should have received a copy of the GNU General Public License along with Koha; if not, write to the Free Software Foundation, Inc., 59 Temple Place,
-Suite 330, Boston, MA  02111-1307 USA
+You should have received a copy of the GNU General Public License along
+with Koha; if not, write to the Free Software Foundation, Inc.,
+51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA.
 
 =head1 DISCLAIMER OF WARRANTY