[Koha-cvs] CVS: koha/misc Install.pm,1.88.2.4,1.88.2.5
Henri-Damien LAURENT
hdl at users.sourceforge.net
Fri Jun 3 15:27:27 CEST 2005
Update of /cvsroot/koha/koha/misc
In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv8492/misc
Modified Files:
Tag: rel_2_2
Install.pm
Log Message:
Bug Fixing : PDF::API2 Not mandatory
Index: Install.pm
===================================================================
RCS file: /cvsroot/koha/koha/misc/Install.pm,v
retrieving revision 1.88.2.4
retrieving revision 1.88.2.5
diff -C2 -r1.88.2.4 -r1.88.2.5
*** Install.pm 4 Feb 2005 18:41:42 -0000 1.88.2.4
--- Install.pm 3 Jun 2005 13:27:25 -0000 1.88.2.5
***************
*** 860,865 ****
unless (eval {require MARC::Record}) { push @missing,"MARC::Record" };
unless (eval {require Mail::Sendmail}) { push @missing,"Mail::Sendmail" };
- unless (eval {require PDF::API2}) { push @missing,"PDF::API2" };
# The following modules are not mandatory, depends on how the library want to use Koha
unless (eval {require Net::LDAP}) {
if ($#missing>=0) { # only when $#missing >= 0 so this isn't fatal
--- 860,869 ----
unless (eval {require MARC::Record}) { push @missing,"MARC::Record" };
unless (eval {require Mail::Sendmail}) { push @missing,"Mail::Sendmail" };
# The following modules are not mandatory, depends on how the library want to use Koha
+ unless (eval {require PDF::API2}) {
+ if ($#missing>=0) { # only when $#missing >= 0 so this isn't fatal
+ push @missing,"You will need PDF::API2 for barcode generator"
+ }
+ }
unless (eval {require Net::LDAP}) {
if ($#missing>=0) { # only when $#missing >= 0 so this isn't fatal
More information about the Koha-cvs
mailing list