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

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

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