1
0
mirror of https://github.com/freifunk-gluon/packages.git synced 2024-06-14 11:13:55 +02:00
gluon-packages/gluon/gluon-autoupdater/check_site.lua
Matthias Schiffer 253ce7e8f2 gluon-autoupdater: adjust for new updater logic
The probability field is removed, updates are performed once per night between
04:00 and 05:00.
2014-07-21 17:27:47 +02:00

13 lines
348 B
Lua

need_string 'autoupdater.branch'
local function check_branch(k, _)
local prefix = string.format('autoupdater.branches[%q].', k)
need_string(prefix .. 'name')
need_string_array(prefix .. 'mirrors')
need_number(prefix .. 'good_signatures')
need_string_array(prefix .. 'pubkeys')
end
need_table('autoupdater.branches', check_branch)