Browse Source

A bit more info in the "not updated yet" WARNING.

master
onefang 3 years ago
parent
commit
5d1ae20d2c
  1. 2
      apt-panopticon.lua

2
apt-panopticon.lua

@ -862,7 +862,7 @@ local parseRelease = function(host)
' upd is ' .. os.date('!%F %T', upd) .. ' updd is ' .. os.date('!%F %T', updd) ..
' now is ' .. os.date('!%F %T', now) .. ' Updated is ' .. APT.mirrors[host].Updated)
if updd >= now then
W('Release ' .. n .. ' not updated yet, should update @ ' .. os.date('!%F %T', upd), 'http', 'Updated', host)
W('Release ' .. n .. ' not updated yet, should update @ ' .. os.date('!%F %T', upd) .. ', and was last updated @ ' .. os.date('!%F %T', new), 'http', 'Updated', host)
Updating = true
else
E('Release ' .. n .. ' not updated, should have updated @ ' .. os.date('!%F %T', upd) .. ', but was last updated @ ' .. os.date('!%F %T', new), 'http', 'Updated', host)

Loading…
Cancel
Save