[Koha-cvs] koha/misc Install.pm [rel_2_2]

paul poulain paul at koha-fr.org
Mon Feb 27 17:31:37 CET 2006


CVSROOT:	/cvsroot/koha
Module name:	koha
Branch: 	rel_2_2
Changes by:	paul poulain <tipaul at savannah.gnu.org>	06/02/27 16:31:37

Modified files:
	misc           : Install.pm 

Log message:
	addind LWP::Simple and XML::Simple package (required for amazon package)

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

Patches:
Index: koha/misc/Install.pm
diff -u koha/misc/Install.pm:1.88.2.5 koha/misc/Install.pm:1.88.2.6
--- koha/misc/Install.pm:1.88.2.5	Fri Jun  3 13:27:25 2005
+++ koha/misc/Install.pm	Mon Feb 27 16:31:37 2006
@@ -881,6 +881,18 @@
 			push @missing, "Net::Z3950";
 		}
     }
+    unless (eval {require LWP::Simple)       {
+		showmessage(getmessage('LWP::Simple'), 'PressEnter', '', 1);
+		if ($#missing>=0) { # see above note
+			push @missing, "LWP::Simple";
+		}
+    }
+    unless (eval {require XML::Simple)       {
+		showmessage(getmessage('XML::Simple'), 'PressEnter', '', 1);
+		if ($#missing>=0) { # see above note
+			push @missing, "XML::Simple";
+		}
+    }
 
 #
 # Print out a list of any missing modules





More information about the Koha-cvs mailing list