Added check for file.
This commit is contained in:
parent
37f21d5d0c
commit
f4fa29eab6
|
@ -18,6 +18,7 @@ for _, script in pairs(SCRIPTS) do
|
|||
url = BASE_URL .. script
|
||||
cmd = "wget " .. url .. " " .. script
|
||||
shell.run(cmd)
|
||||
f:write("if fs.exists(\"" .. script .. "\") then fs.delete(\"" .. script .. "\") end")
|
||||
f:write("shell.run(\"" .. cmd .. "\")")
|
||||
end
|
||||
f:close()
|
||||
|
|
Loading…
Reference in New Issue