version fixups

This commit is contained in:
Doug MacEachern 2005-05-13 21:24:00 +00:00
parent 5e4d3e4475
commit c1224a3ad2
1 changed files with 7 additions and 0 deletions

View File

@ -65,6 +65,9 @@ public class OperatingSystem {
}
else if (os.name.equals("HP-UX")) {
os.vendor = "Hewlett-Packard";
if (os.version.indexOf(".11.") != -1) {
os.vendorVersion = "11";
}
}
else if (os.name.equals("OSF1")) {
//HP acquired DEC
@ -83,6 +86,10 @@ public class OperatingSystem {
os.vendor = "Unknown";
}
if (os.vendorVersion == null) {
os.vendorVersion = os.version;
}
instance = os;
}