iteration
This commit is contained in:
parent
9785d2375b
commit
57d92ee5f1
@ -21,13 +21,13 @@ if response.getResponseCode() == 200 then
|
||||
|
||||
-- check if program is in path
|
||||
if not shell.resolveProgram(program_name) then
|
||||
print("Program not in path, adding to path")
|
||||
io.write("Program not in path, adding to path\n")
|
||||
shell.setPath(shell.path() .. ":" .. bin_path)
|
||||
end
|
||||
|
||||
print("Updated " .. program_name .. ".lua")
|
||||
io.write("Updated " .. program_name .. ".lua\n")
|
||||
else
|
||||
print("Failed to update " .. program_name .. ".lua")
|
||||
print(response)
|
||||
io.write("Failed to update " .. program_name .. ".lua\n")
|
||||
io.write(response)
|
||||
end
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user