[izpack-changes] izpack-src/src/lib/com/izforge/izpack/util OsVersion.java,1.12.2.1,1.12.2.2
eppelman
nobody at sheep.berlios.de
Thu Feb 9 14:22:57 CET 2006
Update of /cvsroot/izpack/izpack-src/src/lib/com/izforge/izpack/util
In directory sheep:/tmp/cvs-serv28526/src/lib/com/izforge/izpack/util
Modified Files:
Tag: branch-3-8
OsVersion.java
Log Message:
fixed detection of SuSE Linux >10
Index: OsVersion.java
===================================================================
RCS file: /cvsroot/izpack/izpack-src/src/lib/com/izforge/izpack/util/OsVersion.java,v
retrieving revision 1.12.2.1
retrieving revision 1.12.2.2
diff -u -d -r1.12.2.1 -r1.12.2.2
--- OsVersion.java 3 Jan 2006 13:53:46 -0000 1.12.2.1
+++ OsVersion.java 9 Feb 2006 13:22:52 -0000 1.12.2.2
@@ -85,7 +85,7 @@
/** True if SuSE Linux was detected */
public static final boolean IS_SUSE_LINUX = IS_LINUX
- && FileUtil.fileContains( getReleaseFileName(), SUSE );
+ && FileUtil.fileContains( getReleaseFileName(), SUSE, true ); /* caseInsensitive , since 'SUSE' 10 */
/** True if Debian Linux or derived was detected */
public static final boolean IS_DEBIAN_LINUX = (IS_LINUX
More information about the izpack-changes
mailing list