aboutsummaryrefslogtreecommitdiffstatshomepage
diff options
context:
space:
mode:
authoronefang2019-11-26 00:49:06 +1000
committeronefang2019-11-26 00:49:06 +1000
commitf28084e935efba2d32dc17be89f933242192cbca (patch)
treeec85322f9442a68d40d3fd54cfab4662c9b6d149
parentRemove obsolete code. (diff)
downloadapt-panopticon-f28084e935efba2d32dc17be89f933242192cbca.zip
apt-panopticon-f28084e935efba2d32dc17be89f933242192cbca.tar.gz
apt-panopticon-f28084e935efba2d32dc17be89f933242192cbca.tar.bz2
apt-panopticon-f28084e935efba2d32dc17be89f933242192cbca.tar.xz
Remove more obsolete code.
Diffstat (limited to '')
-rwxr-xr-xapt-panopticon.lua2
1 files changed, 0 insertions, 2 deletions
diff --git a/apt-panopticon.lua b/apt-panopticon.lua
index caa72ca..f2eca59 100755
--- a/apt-panopticon.lua
+++ b/apt-panopticon.lua
@@ -563,8 +563,6 @@ local checkFiles = function (host, ip, path, file)
563 if repoExists(s .. k) then 563 if repoExists(s .. k) then
564 if checkTimeouts(host, "http", ip .. path .. "/merged/dists/" .. s .. k) then return end 564 if checkTimeouts(host, "http", ip .. path .. "/merged/dists/" .. s .. k) then return end
565 if checkTimeouts(host, "https", ip .. path .. "/merged/dists/" .. s .. k) then return end 565 if checkTimeouts(host, "https", ip .. path .. "/merged/dists/" .. s .. k) then return end
566-- if testing("http", host) then checkHEAD(host, "http://" .. ip .. path .. "/merged/dists/" .. s .. k); if checkTimeouts(host, "http" ) then return end; end
567-- if testing("https", host) then checkHEAD(host, "https://" .. ip .. path .. "/merged/dists/" .. s .. k); if checkTimeouts(host, "https") then return end; end
568 end 566 end
569 end 567 end
570 end 568 end