Browse Source

version: 0.0.8 2021-06-23 (Beta) - Bug Suashhing

v0.0.11
John Haverlack 3 years ago
parent
commit
93b95be2b5
  1. 13
      skqitam-client/index.js
  2. BIN
      web/root/site/sitemap.xml.gz

13
skqitam-client/index.js

@ -384,7 +384,18 @@ switch (sw_source_map[ process['CONFIG']['LOCAL']['OS']['DISTRO'] ]) {
console.log(JSON.stringify(stat_varloginst, null, 2));
am_data['SOURCE']['OS_INSTALL_DATE'] = stat_varloginst['Modify']
} catch (e) {
// Do Nothing
let insttime = '2500-01-01 00:00:00'
for (pkg in am_data['SOURCE']['SW']['DEB']) {
for (pkghist in am_data['SOURCE']['SW']['DEB'][pkg]['APT_HISTORY']) {
if (pkghist < insttime) {
insttime = pkghist
}
}
}
if (insttime != '2500-01-01 00:00:00') {
am_data['SOURCE']['OS_INSTALL_DATE'] = insttime
}
}
break;
case 'RPM':

BIN
web/root/site/sitemap.xml.gz

Loading…
Cancel
Save