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 -- check if program is in path
if not shell.resolveProgram(program_name) then 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) shell.setPath(shell.path() .. ":" .. bin_path)
end end
print("Updated " .. program_name .. ".lua") io.write("Updated " .. program_name .. ".lua\n")
else else
print("Failed to update " .. program_name .. ".lua") io.write("Failed to update " .. program_name .. ".lua\n")
print(response) io.write(response)
end end