aboutsummaryrefslogtreecommitdiff
path: root/myrepo/files/updater.lua
blob: 0673f475362c9287f65ba2762f4a509c87614101 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
local board
if model:match('[Oo]mnia') then
	board = "omnia"
else
	board = "turris"
end

Script("myrepo", "https://cynerd.cz/myrepo/" .. board .. ".lua", {
	pubkey = "file:///etc/updater/keys/myrepo.pub",
	ocsp = false
})

Install("myrepo")
Package("myrepo", { replan = "finished" })