[LON-CAPA-cvs] cvs: doc /install/redhat7.3 install.pl

matthew lon-capa-cvs@mail.lon-capa.org
Thu, 27 Jun 2002 20:45:36 -0000


matthew		Thu Jun 27 16:45:36 2002 EDT

  Modified files:              
    /doc/install/redhat7.3	install.pl 
  Log:
  Added ImageMagick RPMs.
  
  
Index: doc/install/redhat7.3/install.pl
diff -u doc/install/redhat7.3/install.pl:1.2 doc/install/redhat7.3/install.pl:1.3
--- doc/install/redhat7.3/install.pl:1.2	Wed Jun 19 15:27:17 2002
+++ doc/install/redhat7.3/install.pl	Thu Jun 27 16:45:36 2002
@@ -2,7 +2,7 @@
 # The LearningOnline Network 
 # Red Hat 7.3 installation script
 #
-# $Id: install.pl,v 1.2 2002/06/19 19:27:17 matthew Exp $
+# $Id: install.pl,v 1.3 2002/06/27 20:45:36 matthew Exp $
 #
 # Copyright Michigan State University Board of Trustees
 #
@@ -48,6 +48,9 @@
 #    The following files are assumed to be present in the current
 #    directory:
 #      RPMS:
+#        ImageMagick-5.4.3.11-1.i386.rpm
+#        ImageMagick-devel-5.4.3.11-1.i386.rpm
+#        ImageMagick-perl-5.4.3.11-1.i386.rpm
 #        gnuplot-3.7.1-5.i386.rpm
 #        libgd-1.3-4.i386.rpm
 #        libungif-progs-4.1.0-9.i386.rpm
@@ -159,6 +162,12 @@
 # This list of rpms needs to be pared down to some extent.
 #
 
+my @ImageMagick_rpms = (
+             "$instdir/ImageMagick-5.4.3.11-1.i386.rpm",
+             "$instdir/ImageMagick-devel-5.4.3.11-1.i386.rpm",
+             "$instdir/ImageMagick-perl-5.4.3.11-1.i386.rpm",
+                       );
+
 my @gnuplot_rpms = (
              "$instdir/gnuplot-3.7.1-5.i386.rpm",
              "$instdir/libgd-1.3-4.i386.rpm",
@@ -191,6 +200,8 @@
 ## but it is an exercise in frustration.  It would be nice to be kind, but
 ## frankly I do not want to spend the time to figure this out.
 ##
+print_and_log("Installing ImageMagick packages.\n");
+writelog (`rpm -ivh --force --nodeps @ImageMagick_rpms`);
 print_and_log("Installing mysql packages.\n");
 writelog (`rpm -ivh --force --nodeps @mysql_rpms`);
 print_and_log("Installing gnuplot packages.\n");