[Koha-patches] [PATCH] Bug 4844 Remove a circular dependency in koha_perl_deps.pl
Colin Campbell
colin.campbell at ptfs-europe.com
Tue Jun 1 18:52:12 CEST 2010
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
---
koha_perl_deps.pl | 10 +++++++---
1 files changed, 7 insertions(+), 3 deletions(-)
diff --git a/koha_perl_deps.pl b/koha_perl_deps.pl
index 5557f7a..934dea5 100755
--- a/koha_perl_deps.pl
+++ b/koha_perl_deps.pl
@@ -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
--
1.7.0.1
More information about the Koha-patches
mailing list