diff --git a/.github/diy/patches/luci-app-store.patch b/.github/diy/patches/luci-app-store.patch index 1c739ac10..60928b322 100644 --- a/.github/diy/patches/luci-app-store.patch +++ b/.github/diy/patches/luci-app-store.patch @@ -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