version fixups
This commit is contained in:
parent
5e4d3e4475
commit
c1224a3ad2
|
@ -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;
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in New Issue