From 0bcdf73271be4a4f9ca8c849c426b521365dcf30 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Karel=20Ko=C4=8D=C3=AD?= Date: Mon, 6 Nov 2017 08:23:58 +0100 Subject: Rename myrepo-cert to just myrepo --- myrepo/files/updater.lua | 12 ++++++++++++ 1 file changed, 12 insertions(+) create mode 100644 myrepo/files/updater.lua (limited to 'myrepo/files/updater.lua') diff --git a/myrepo/files/updater.lua b/myrepo/files/updater.lua new file mode 100644 index 0000000..b9946c0 --- /dev/null +++ b/myrepo/files/updater.lua @@ -0,0 +1,12 @@ +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") -- cgit v1.2.3