getscript: overwrite file
This commit is contained in:
parent
128798cf22
commit
17745c996c
@ -72,10 +72,6 @@ if run then
|
||||
else
|
||||
local sFile = tArgs[1] or getFilename(url) or url
|
||||
local sPath = shell.resolve(sFile)
|
||||
if fs.exists(sPath) then
|
||||
print("File already exists")
|
||||
return
|
||||
end
|
||||
|
||||
local res = get(url)
|
||||
if not res then return end
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user