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

matthew lon-capa-cvs@mail.lon-capa.org
Thu, 28 Aug 2003 17:13:13 -0000


matthew		Thu Aug 28 13:13:13 2003 EDT

  Modified files:              
    /doc/install/redhat7.3	install.pl 
  Log:
  Bug 2071: Remove mod_throttle and mod_bandwidth.  May be incorrect as I do
  not know at this time the true names of the packages.
  
  
Index: doc/install/redhat7.3/install.pl
diff -u doc/install/redhat7.3/install.pl:1.22 doc/install/redhat7.3/install.pl:1.23
--- doc/install/redhat7.3/install.pl:1.22	Mon Aug 11 16:47:57 2003
+++ doc/install/redhat7.3/install.pl	Thu Aug 28 13:13:13 2003
@@ -2,7 +2,7 @@
 # The LearningOnline Network 
 # Red Hat 7.3 installation script
 #
-# $Id: install.pl,v 1.22 2003/08/11 20:47:57 matthew Exp $
+# $Id: install.pl,v 1.23 2003/08/28 17:13:13 matthew Exp $
 #
 # Copyright Michigan State University Board of Trustees
 #
@@ -89,7 +89,7 @@
 # note: The filehandle LOG is global.
 open LOG,">loncapa_install.log" || die "Unable to open log file.\n";
 
-print LOG '$Id: install.pl,v 1.22 2003/08/11 20:47:57 matthew Exp $'."\n";
+print LOG '$Id: install.pl,v 1.23 2003/08/28 17:13:13 matthew Exp $'."\n";
 
 # Some friendly subroutines
 sub die_if_nonempty {
@@ -276,6 +276,11 @@
         &writelog("Successfully removed ".$php_rpm);
     }
 }
+
+&print_and_log("Removing mod_throttle");
+system("rpm -e `rpm -q -a | grep mod_throttle`");
+&print_and_log("Removing mod_bandwidth");
+system("rpm -e `rpm -q -a | grep mod_bandwidth`");
 
 ##
 ## Fix that stupid little sendmail bug