aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/apt-panopticon.lua
diff options
context:
space:
mode:
Diffstat (limited to 'apt-panopticon.lua')
-rwxr-xr-xapt-panopticon.lua3
1 files changed, 2 insertions, 1 deletions
diff --git a/apt-panopticon.lua b/apt-panopticon.lua
index 52e11eb..6558474 100755
--- a/apt-panopticon.lua
+++ b/apt-panopticon.lua
@@ -1127,7 +1127,8 @@ os.execute('sleep 1') -- Wait for things to start up before checking for them.
1127 local srvs = io.popen('ls -1 results/*.lua') 1127 local srvs = io.popen('ls -1 results/*.lua')
1128 for l in srvs:lines() do 1128 for l in srvs:lines() do
1129 local hst = l:sub(9, -5) 1129 local hst = l:sub(9, -5)
1130 if (l:find('_') == nil) and (nil == APT.mirrors[hst]) then 1130 if nil ~= l:find('_R%.lua') then hst = hst:sub(1, -3) end
1131 if (hst:find('_') == nil) and (nil == APT.mirrors[hst]) then
1131 local ips = loadfile(l)().IPs 1132 local ips = loadfile(l)().IPs
1132 if nil ~= ips then 1133 if nil ~= ips then
1133 debians[hst] = {Country = '', FDQN = hst, Active = 'yes', Rate = '', BaseURL = hst, Protocols = {http = true, https = true}, Bandwidth = '', IPs = ips} 1134 debians[hst] = {Country = '', FDQN = hst, Active = 'yes', Rate = '', BaseURL = hst, Protocols = {http = true, https = true}, Bandwidth = '', IPs = ips}