🛸 Sync 2024-11-15 16:31

This commit is contained in:
github-actions[bot] 2024-11-15 16:31:22 +08:00
parent 39862e4322
commit abe4a440d0
2 changed files with 7 additions and 3 deletions

View File

@ -10,11 +10,11 @@ include $(TOPDIR)/rules.mk
PKG_ARCH_LINKEASE:=$(ARCH)
PKG_NAME:=linkease
PKG_VERSION:=1.6.7
PKG_VERSION:=1.6.8
PKG_RELEASE:=$(PKG_ARCH_LINKEASE)-1
PKG_SOURCE:=$(PKG_NAME)-binary-$(PKG_VERSION).tar.gz
PKG_SOURCE_URL:=http://fw0.koolcenter.com/binary/LinkEase/LinuxStorage/
PKG_HASH:=641083ec699ca0e52ac8badf11be5ff963a6796cb0b960eefada7ca9b9afe647
PKG_HASH:=d6c600f8df604d62fee98f42dcf4e6ea8b919c9a005912a30c55592397e35ca6
PKG_BUILD_DIR:=$(BUILD_DIR)/$(PKG_NAME)-binary-$(PKG_VERSION)

View File

@ -987,7 +987,11 @@ function to_move(app_name,file)
end
function get_version()
return sys.exec("echo -n $(opkg list-installed luci-app-passwall |awk '{print $3}')")
local version = sys.exec("opkg list-installed luci-app-passwall 2>/dev/null | awk '{print $3}'")
if not version or #version == 0 then
version = sys.exec("apk info luci-app-passwall 2>/dev/null | awk '{print $2}'")
end
return version or ""
end
function to_check_self()