mirror of
https://github.com/kenzok8/openwrt-packages
synced 2025-01-08 11:17:27 +08:00
update 2024-07-01 14:10:04
This commit is contained in:
parent
f247ae9944
commit
52d665c4fe
@ -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.20-0
|
||||
PKG_VERSION:=0.1.21-0
|
||||
# PKG_RELEASE MUST be empty for luci.mk
|
||||
PKG_RELEASE:=
|
||||
|
||||
|
@ -77,6 +77,7 @@ local function user_config()
|
||||
local data = {
|
||||
hide_docker = uci:get("istore", "istore", "hide_docker") == "1",
|
||||
ignore_arch = uci:get("istore", "istore", "ignore_arch") == "1",
|
||||
last_path = uci:get("istore", "istore", "last_path"),
|
||||
super_arch = uci:get("istore", "istore", "super_arch"),
|
||||
channel = uci:get("istore", "istore", "channel")
|
||||
}
|
||||
@ -300,6 +301,9 @@ function store_action(param)
|
||||
local autoenable = luci.http.formvalue("enable")
|
||||
if autopath ~= nil then
|
||||
autoenv = autoenv .. " path=" .. luci.util.shellquote(autopath)
|
||||
local uci = require "luci.model.uci".cursor()
|
||||
uci:set("istore", "istore", "last_path", autopath)
|
||||
uci:commit("istore")
|
||||
end
|
||||
autoenv = autoenv .. " enable=" .. autoenable
|
||||
code, out, err = _action(myopkg, luci.util.shellquote(autoenv), action, metapkg)
|
||||
|
@ -1,6 +1,7 @@
|
||||
config istore 'istore'
|
||||
# option hide_docker '0'
|
||||
# option ignore_arch '0'
|
||||
# option last_path '/mnt/nvme'
|
||||
# option channel 'istore'
|
||||
# option super_arch 'x86_64'
|
||||
# option super_arch 'aarch64'
|
||||
|
Loading…
Reference in New Issue
Block a user