[LON-CAPA-cvs] cvs: loncom /build distprobe

raeburn lon-capa-cvs@mail.lon-capa.org
Mon, 18 Jul 2005 15:10:13 -0000


raeburn		Mon Jul 18 11:10:13 2005 EDT

  Modified files:              
    /loncom/build	distprobe 
  Log:
  Probe for Red Hat Enterprise Server
  
  
Index: loncom/build/distprobe
diff -u loncom/build/distprobe:1.7 loncom/build/distprobe:1.8
--- loncom/build/distprobe:1.7	Mon Nov  1 16:53:23 2004
+++ loncom/build/distprobe	Mon Jul 18 11:10:11 2005
@@ -2,7 +2,7 @@
 #
 # The LearningOnline Network with CAPA
 #
-# $Id: distprobe,v 1.7 2004/11/01 21:53:23 albertel Exp $
+# $Id: distprobe,v 1.8 2005/07/18 15:10:11 raeburn Exp $
 #
 # Copyright Michigan State University Board of Trustees
 #
@@ -49,6 +49,8 @@
 	} else {
 	    $dist = 'fedora'.int($version);
 	}
+    } elsif ($versionstring =~ /Red Hat Enterprise Linux ES release ([\d\.]+) /) {
+        $dist = 'rhes'.$1;
     } else {
         warn('Unable to interpret /etc/redhat-release '.
              'to determine system type');