summaryrefslogtreecommitdiff
path: root/personal-pkgs-repo/files
diff options
context:
space:
mode:
authorKarel Kočí <karel.koci@nic.cz>2018-09-27 11:13:09 +0200
committerKarel Kočí <karel.koci@nic.cz>2018-09-27 12:50:29 +0200
commit9daf08fb38bd0857af79c12bfba14ad1a873ad95 (patch)
treebce2dc72e07062274552ec518256672f7786e8aa /personal-pkgs-repo/files
parent152d258efa94951a574383f5a13ea51e5ae0fff5 (diff)
downloadopenwrt-personal-pkgs-9daf08fb38bd0857af79c12bfba14ad1a873ad95.tar.gz
openwrt-personal-pkgs-9daf08fb38bd0857af79c12bfba14ad1a873ad95.tar.bz2
openwrt-personal-pkgs-9daf08fb38bd0857af79c12bfba14ad1a873ad95.zip
personal-pkgs-repo: Add opkg feed hack and shellrc autoinstall
Diffstat (limited to 'personal-pkgs-repo/files')
-rw-r--r--personal-pkgs-repo/files/updater.lua17
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..859c780 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/openwrt/" .. 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")