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" })