koha-cvs
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Koha-cvs] koha/misc Install.pm


From: Mason James
Subject: [Koha-cvs] koha/misc Install.pm
Date: Tue, 18 Apr 2006 04:53:40 +0000

CVSROOT:        /sources/koha
Module name:    koha
Branch:         
Changes by:     Mason James <address@hidden>    06/04/18 04:53:40

Modified files:
        misc           : Install.pm 

Log message:
        Added check for modules for spine-label printing.

CVSWeb URLs:
http://cvs.savannah.gnu.org/viewcvs/koha/koha/misc/Install.pm.diff?tr1=1.92&tr2=1.93&r1=text&r2=text

Patches:
Index: koha/misc/Install.pm
diff -u koha/misc/Install.pm:1.92 koha/misc/Install.pm:1.93
--- koha/misc/Install.pm:1.92   Fri Jun 24 12:19:34 2005
+++ koha/misc/Install.pm        Tue Apr 18 04:53:40 2006
@@ -841,6 +841,39 @@
                                push @missing,"You will need PDF::API2 for 
barcode generator" 
                        }
        }
+                unless (eval {require PDF::API2::PDF})   {
+                                    if ($#missing>=0) { # only when $#missing 
>= 0 so this isn't fatal
+                                            push @missing,"You will need 
PDF::API2::PDF for spine and barcode printing"
+                                    }
+                    }
+                unless (eval {require PDF::Reuse})   {
+                                    if ($#missing>=0) { # only when $#missing 
>= 0 so this isn't fatal
+                                            push @missing,"You will need 
PDF::Reuse for spine and barcode printing"
+                                    }
+                    }
+                unless (eval {require PDF::Reuse::Barcode})   {
+                                    if ($#missing>=0) { # only when $#missing 
>= 0 so this isn't fatal
+                                            push @missing,"You will need 
PDF::Reuse::Barcode for spine and barcode printing"
+                                    }
+                    }
+                unless (eval {require PDF::Report})   {
+                                    if ($#missing>=0) { # only when $#missing 
>= 0 so this isn't fatal
+                                            push @missing,"You will need 
PDF::Report for spine and barcode printing"
+                                    }
+                    }
+
+                unless (eval {require GD::Barcode})   {
+                                    if ($#missing>=0) { # only when $#missing 
>= 0 so this isn't fatal
+                                            push @missing,"You will need 
GD::Barcode for spine and barcode printing"
+                                    }
+                    }
+
+                unless (eval {require GD::Barcode::UPCE})   {
+                                    if ($#missing>=0) { # only when $#missing 
>= 0 so this isn't fatal
+                                            push @missing,"You will need 
GD::Barcode::UPCE for spine and barcode printing"
+                                    }
+                    }
+
        unless (eval {require Net::LDAP})       {
                if ($#missing>=0) { # only when $#missing >= 0 so this isn't 
fatal
                                push @missing, "Net::LDAP";




reply via email to

[Prev in Thread] Current Thread [Next in Thread]