mirror of
https://github.com/caiwx86/small-packages.git
synced 2026-10-31 21:15:13 +08:00
update 2026-09-30 01:29:31
This commit is contained in:
1 parent
cb2fdad301
commit
dd96a29afe
176 files changed
+60
-41490
No files matched your search
@@ -2255,7 +2255,7 @@ local execute = function()
|
||||
f:close()
|
||||
local raw_data = api.trim(stdout)
|
||||
local old_md5 = value.md5 or ""
|
||||
local new_md5 = luci.sys.exec("md5sum " .. tmp_file .. " 2>/dev/null | awk '{print $1}'"):gsub("\n", "")
|
||||
local new_md5 = luci.sys.exec("md5sum " .. tmp_file .. " 2>/dev/null | awk '{printf \"%s\", $1}'")
|
||||
if not manual_sub and old_md5 == new_md5 then
|
||||
log('订阅:【' .. remark .. '】没有变化,无需更新。')
|
||||
else
|
||||
|
||||
Reference in new issue
Block a user