iteration

This commit is contained in:
Layla 2023-10-07 23:24:38 -04:00
parent 9785d2375b
commit 57d92ee5f1
3 changed files with 4 additions and 4 deletions

View File

@ -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