aboutsummaryrefslogtreecommitdiffstatshomepage
diff options
context:
space:
mode:
authoronefang2019-12-24 15:09:28 +1000
committeronefang2019-12-24 15:09:28 +1000
commit83c6327d60df855cd56eeffbe72e765d5276067e (patch)
treee2a52ffb341a4c65afd6a27fc154e33dd2a796cf
parentClean out left over test. (diff)
downloadapt-panopticon-83c6327d60df855cd56eeffbe72e765d5276067e.zip
apt-panopticon-83c6327d60df855cd56eeffbe72e765d5276067e.tar.gz
apt-panopticon-83c6327d60df855cd56eeffbe72e765d5276067e.tar.bz2
apt-panopticon-83c6327d60df855cd56eeffbe72e765d5276067e.tar.xz
Actually test DEBIAN packages.
-rwxr-xr-xapt-panopticon.lua6
1 files changed, 6 insertions, 0 deletions
diff --git a/apt-panopticon.lua b/apt-panopticon.lua
index 5cf776e..694e343 100755
--- a/apt-panopticon.lua
+++ b/apt-panopticon.lua
@@ -420,6 +420,12 @@ local checkFiles = function (host, ip, path, file)
420 end 420 end
421 end 421 end
422 end 422 end
423
424 for i, s in pairs(referenceDebs) do
425 if checkTimeouts(host, "http", ip .. path .. "/" .. s) then return end
426 if checkTimeouts(host, "https", ip .. path .. "/" .. s) then return end
427 end
428
423 for i, s in pairs(referenceDevs) do 429 for i, s in pairs(referenceDevs) do
424 if checkTimeouts(host, "http", ip .. path .. "/" .. s) then return end 430 if checkTimeouts(host, "http", ip .. path .. "/" .. s) then return end
425 if checkTimeouts(host, "https", ip .. path .. "/" .. s) then return end 431 if checkTimeouts(host, "https", ip .. path .. "/" .. s) then return end