mirror of
https://github.com/roacn/openwrt-packages.git
synced 2025-01-08 11:57:31 +08:00
🛸 Sync 2024-11-15 16:31
This commit is contained in:
parent
39862e4322
commit
abe4a440d0
@ -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)
|
||||
|
||||
|
@ -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()
|
||||
|
Loading…
Reference in New Issue
Block a user