diff options
author | Karel Kočí <karel.koci@nic.cz> | 2018-09-27 11:13:09 +0200 |
---|---|---|
committer | Karel Kočí <karel.koci@nic.cz> | 2018-09-27 12:51:53 +0200 |
commit | c3e94cf7d03f4876e133c2a04ad4d490402f435e (patch) | |
tree | ba528e4a80697290263a1947388cd8c45682a5f3 /personal-pkgs-repo/files/updater.lua | |
parent | c232e31116a1f743f0caa2a93678cb1abe198d9f (diff) | |
download | openwrt-personal-pkgs-c3e94cf7d03f4876e133c2a04ad4d490402f435e.tar.gz openwrt-personal-pkgs-c3e94cf7d03f4876e133c2a04ad4d490402f435e.tar.bz2 openwrt-personal-pkgs-c3e94cf7d03f4876e133c2a04ad4d490402f435e.zip |
personal-pkgs-repo: Add opkg feed hack and little cleanup
Diffstat (limited to 'personal-pkgs-repo/files/updater.lua')
-rw-r--r-- | personal-pkgs-repo/files/updater.lua | 17 |
1 files changed, 6 insertions, 11 deletions
diff --git a/personal-pkgs-repo/files/updater.lua b/personal-pkgs-repo/files/updater.lua index 9c29984..2bf7636 100644 --- a/personal-pkgs-repo/files/updater.lua +++ b/personal-pkgs-repo/files/updater.lua @@ -7,17 +7,12 @@ else DIE("Unsupported board!") end -if version_match(turris_version, '<4.0') then - Repository("personal-pkgs", "https://cynerd.cz/repo/turris3x/" .. board, { - pubkey = "file:///etc/updater/keys/personal-pkgs.pub", - ocsp = false - }) -else - Repository("personal-pkgs", "https://cynerd.cz/repo/openwrt/" .. board, { - pubkey = "file:///etc/updater/keys/personal-pkgs.pub", - ocsp = false - }) -end +Repository("personal-pkgs", "https://cynerd.cz/repo/turris3x/" .. board, { + pubkey = "file:///etc/updater/keys/personal-pkgs.pub", + ocsp = false +}) Install("personal-pkgs-repo") Package("personal-pkgs-repo", { replan = "finished" }) + +Install("shellrc-zsh", "shellrc-ash") |