mirror of
https://github.com/kiddin9/op-packages.git
synced 2026-10-27 00:52:51 +08:00
Update luci-app-store.patch
This commit is contained in:
1 parent
09331d5c64
commit
6a9313a039
1 file changed
+13
-2
@@ -16,16 +16,27 @@
|
||||
|
||||
--- a/luci-app-store/luasrc/controller/store.lua
|
||||
+++ b/luci-app-store/luasrc/controller/store.lua
|
||||
@@ -14,7 +14,8 @@ function index()
|
||||
@@ -3,7 +3,7 @@ module("luci.controller.store", package.seeall)
|
||||
local myopkg = "is-opkg"
|
||||
local is_backup = "/usr/libexec/istore/backup"
|
||||
local is_overlay_backup = "/usr/libexec/istore/overlay-backup"
|
||||
-local page_index = {"admin", "store", "pages"}
|
||||
+local page_index = {"admin", "services", "store", "pages"}
|
||||
|
||||
function index()
|
||||
local function store_api(action, onlypost)
|
||||
@@ -14,8 +14,9 @@ function index()
|
||||
|
||||
local action
|
||||
|
||||
- entry({"admin", "store"}, call("redirect_index"), _("iStore"), 31)
|
||||
- entry({"admin", "store", "pages"}, call("store_index")).leaf = true
|
||||
+ entry({"admin", "store"}, call("redirect_index"))
|
||||
+ entry({"admin", "services", "store"}, call("redirect_index"), _("iStore"), 31).dependent = true
|
||||
entry({"admin", "store", "pages"}, call("store_index")).leaf = true
|
||||
+ entry({"admin", "services", "store", "pages"}, call("store_index")).leaf = true
|
||||
if nixio.fs.access("/usr/lib/lua/luci/view/store/main_dev.htm") then
|
||||
entry({"admin", "store", "dev"}, call("store_dev")).leaf = true
|
||||
end
|
||||
|
||||
--- a/luci-app-store/src/root-opkg/etc/opkg/compatfeeds.conf
|
||||
+++ b/luci-app-store/src/root-opkg/etc/opkg/compatfeeds.conf
|
||||
|
||||
Reference in new issue
Block a user