[Oracleasm-commits] jlbec commits r374 - trunk/vendor/rhel4

svn-commits at oss.oracle.com svn-commits at oss.oracle.com
Wed Apr 11 11:43:50 PDT 2007


Author: jlbec
Date: 2007-04-11 11:43:49 -0700 (Wed, 11 Apr 2007)
New Revision: 374

Modified:
   trunk/vendor/rhel4/vendor.guess
Log:

Modify rhel4/vendor.guess to discover all rhel4-alike distributions.




Modified: trunk/vendor/rhel4/vendor.guess
===================================================================
--- trunk/vendor/rhel4/vendor.guess	2007-04-09 21:05:00 UTC (rev 373)
+++ trunk/vendor/rhel4/vendor.guess	2007-04-11 18:43:49 UTC (rev 374)
@@ -5,9 +5,10 @@
     exit 1
 fi
 
-if [ "`rpm -qf /etc/redhat-release --qf '%{VERSION}' 2>/dev/null`" != "4AS" ]
-then
-    exit 1
-fi
+case "`rpm -qf /etc/redhat-release --qf '%{VERSION}' 2>/dev/null`" in
+    4[AEW]S) ;;
+    4) ;;
+    *) exit 1 ;;
+esac
 
 exit 0




More information about the Oracleasm-commits mailing list