From 7221d534f18a6f7e06e7d2954c2dac89412c6359 Mon Sep 17 00:00:00 2001 From: actions-user Date: Wed, 10 Jul 2024 14:01:01 +0800 Subject: [PATCH] update 2024-07-10 14:01:01 --- luci-app-store/Makefile | 2 +- luci-app-store/luasrc/controller/store.lua | 2 +- luci-app-store/swagger.yaml | 2 +- 3 files changed, 3 insertions(+), 3 deletions(-) diff --git a/luci-app-store/Makefile b/luci-app-store/Makefile index cde12244..af25ab24 100644 --- a/luci-app-store/Makefile +++ b/luci-app-store/Makefile @@ -11,7 +11,7 @@ LUCI_DEPENDS:=+curl +opkg +luci-base +tar +coreutils +coreutils-stat +libuci-lua LUCI_EXTRA_DEPENDS:=luci-lib-taskd (>=1.0.19) LUCI_PKGARCH:=all -PKG_VERSION:=0.1.24-1 +PKG_VERSION:=0.1.25-0 # PKG_RELEASE MUST be empty for luci.mk PKG_RELEASE:= diff --git a/luci-app-store/luasrc/controller/store.lua b/luci-app-store/luasrc/controller/store.lua index dfa25459..4cb527ee 100644 --- a/luci-app-store/luasrc/controller/store.lua +++ b/luci-app-store/luasrc/controller/store.lua @@ -483,7 +483,7 @@ function entrysh() local lock, msg = flock("/var/lock/istore-entrysh.lock", "lock") local meta for _, meta in ipairs(installed) do - if meta.autoconf ~= nil and meta.uci ~= nil and luci.util.contains(meta.autoconf, "entrysh") + if meta.flags ~= nil and meta.uci ~= nil and luci.util.contains(meta.flags, "entrysh") and (candidate == nil or luci.util.contains(candidate, meta.name)) then local entryfile = "/usr/libexec/istoree/" .. meta.name .. ".sh" local ucifile = "/etc/config/" .. meta.uci diff --git a/luci-app-store/swagger.yaml b/luci-app-store/swagger.yaml index c5941679..57cda787 100644 --- a/luci-app-store/swagger.yaml +++ b/luci-app-store/swagger.yaml @@ -237,7 +237,7 @@ paths: tags: - entrysh summary: 查询插件运行状态,主要为了获取入口信息。 - description: 调用前应该检查meta数据中autoconf数组包含entrysh,注意如果是安装插件则检查服务器端的autoconf,如果是调用已安装插件则检查路由器端的autoconf。 + description: 调用前应该检查meta数据中flags数组包含entrysh,注意如果是安装插件则检查服务器端的flags,如果是调用已安装插件则检查路由器端的flags。 parameters: - in: "query" name: "token"