tiny correction - removed double quotes CPU brand, ...
This commit is contained in:
parent
aa77facdcf
commit
4a2b34a972
@ -229,6 +229,7 @@ I am happy to discuss any comments and suggestions. Please feel free to contact
|
||||
|
||||
| Version | Date | Comment |
|
||||
| -------------- | -------------- | -------- |
|
||||
| 2.0.4 | 2016-02-22 | tiny correction - removed double quotes CPU brand, ... |
|
||||
| 2.0.3 | 2016-02-22 | optimized cpuCurrentspeed |
|
||||
| 2.0.2 | 2016-02-22 | added CoreOS identification |
|
||||
| 2.0.1 | 2016-01-07 | minor patch |
|
||||
|
||||
@ -67,7 +67,8 @@
|
||||
// --------------------------------
|
||||
//
|
||||
// version date comment
|
||||
// 2.0.2 2016-02-22 optimized cpuCurrentspeed
|
||||
// 2.0.4 2016-02-22 tiny correction - removed double quotes CPU brand, ...
|
||||
// 2.0.3 2016-02-22 optimized cpuCurrentspeed
|
||||
// 2.0.2 2016-02-22 added CoreOS identification
|
||||
// 2.0.1 2016-01-07 minor patch
|
||||
// 2.0.0 2016-01-07 new major version 2.0
|
||||
@ -315,10 +316,10 @@ function osInfo(callback) {
|
||||
release[line.split('=')[0].trim().toUpperCase()] = line.split('=')[1].trim();
|
||||
}
|
||||
});
|
||||
result.distro = release.DISTRIB_ID || release.NAME || 'unknown';
|
||||
result.distro = (release.DISTRIB_ID || release.NAME || 'unknown').replace(/"/g, '');
|
||||
result.logofile = getLogoFile(result.distro);
|
||||
result.release = release.DISTRIB_RELEASE || release.VERSION_ID || 'unknown';
|
||||
result.codename = release.DISTRIB_CODENAME || '';
|
||||
result.release = (release.DISTRIB_RELEASE || release.VERSION_ID || 'unknown').replace(/"/g, '');
|
||||
result.codename = (release.DISTRIB_CODENAME || '').replace(/"/g, '');
|
||||
}
|
||||
callback(result);
|
||||
})
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user