mirror of
https://github.com/Kiritow/OpenComputerScripts.git
synced 2024-03-22 13:10:46 +08:00
Fix install script
This commit is contained in:
parent
8276f40c38
commit
623bbac982
|
@ -96,6 +96,8 @@ for k,v in pairs(file_lst) do
|
||||||
local flag,x,y=DownloadFromOCS(v)
|
local flag,x,y=DownloadFromOCS(v)
|
||||||
if((not flag) or (y~=200) ) then
|
if((not flag) or (y~=200) ) then
|
||||||
print("[Download Failed]")
|
print("[Download Failed]")
|
||||||
|
-- Stop if download failed.
|
||||||
|
break
|
||||||
else
|
else
|
||||||
local ret=WriteStringToFile(x,v)
|
local ret=WriteStringToFile(x,v)
|
||||||
if(not ret) then
|
if(not ret) then
|
||||||
|
|
Loading…
Reference in New Issue
Block a user