🐶 Sync 2026-10-03 23:38:36

This commit is contained in:
github-actions[bot] committed 2026-10-03 23:38:36 +08:00
1 parent b63935e763
commit d0f1c561e1
187 files changed
+1472 -443

No files matched your search

+6 -7
View File
@@ -396,13 +396,12 @@ function repeat_exist(table, value)
end
function remove(...)
for i = 1, select("#", ...) do
local value = select(i, ...)
if type(value) == "string" and #value > 0 and value ~= "/" then
local quoted = "'" .. value:gsub("'", "'\\''") .. "'"
sys.call("rm -rf " .. quoted)
end
end
for i = 1, select("#", ...) do
local value = select(i, ...)
if type(value) == "string" and #value > 0 and value ~= "/" then
sys.call(string.format("rm -rf -- %s", value))
end
end
end
function is_install(package)