🍓 Sync 2025-11-12 00:12:28
This commit is contained in:
@@ -1155,7 +1155,7 @@ function to_check_self()
|
||||
}
|
||||
end
|
||||
local local_version = get_version()
|
||||
local remote_version = sys.exec("echo -n $(grep 'PKG_VERSION' /tmp/passwall_makefile|awk -F '=' '{print $2}')")
|
||||
local remote_version = sys.exec("echo -n $(grep '^PKG_VERSION' /tmp/passwall_makefile | head -n 1 | awk -F '=' '{print $2}')")
|
||||
exec("/bin/rm", {"-f", tmp_file})
|
||||
|
||||
local has_update = compare_versions(local_version, "<", remote_version)
|
||||
|
||||
Reference in New Issue
Block a user