iteration
This commit is contained in:
		@ -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
 | 
				
			||||||
 | 
					
 | 
				
			||||||
 | 
				
			|||||||
		Reference in New Issue
	
	Block a user