[Koha-cvs] koha/misc Install.pm [rel_2_2]
Mason James
szrj1m at yahoo.com
Fri Jul 28 03:25:29 CEST 2006
CVSROOT: /sources/koha
Module name: koha
Branch: rel_2_2
Changes by: Mason James <sushi> 06/07/28 01:25:29
Modified files:
misc : Install.pm
Log message:
added Text::Wrap module too, for spine labels.
CVSWeb URLs:
http://cvs.savannah.gnu.org/viewcvs/koha/misc/Install.pm?cvsroot=koha&only_with_tag=rel_2_2&r1=1.88.2.7&r2=1.88.2.8
Patches:
Index: Install.pm
===================================================================
RCS file: /sources/koha/koha/misc/Install.pm,v
retrieving revision 1.88.2.7
retrieving revision 1.88.2.8
diff -u -b -r1.88.2.7 -r1.88.2.8
--- Install.pm 25 Jul 2006 12:39:14 -0000 1.88.2.7
+++ Install.pm 28 Jul 2006 01:25:29 -0000 1.88.2.8
@@ -872,6 +872,11 @@
push @missing, "Net::LDAP";
}
}
+ unless (eval {require Text::Wrap}) {
+ if ($#missing>=0) { # only when $#missing >= 0 so this isn't fatal
+ push @missing, "Text::Wrap";
+ }
+ }
unless (eval {require Event}) {
if ($#missing>=0) { # only when $#missing >= 0 so this isn't fatal
push @missing, "Event";
More information about the Koha-cvs
mailing list