iteration
This commit is contained in:
@@ -19,12 +19,6 @@ if response.getResponseCode() == 200 then
|
||||
file.write(response.readAll())
|
||||
file.close()
|
||||
|
||||
-- check if program is in path
|
||||
if not shell.resolveProgram(program_name) then
|
||||
io.write("Program not in path, adding to path\n")
|
||||
shell.setPath(shell.path() .. ":" .. bin_path)
|
||||
end
|
||||
|
||||
io.write("Updated " .. program_name .. ".lua\n")
|
||||
else
|
||||
io.write("Failed to update " .. program_name .. ".lua\n")
|
||||
|
||||
Reference in New Issue
Block a user