aboutsummaryrefslogtreecommitdiffstatshomepage
diff options
context:
space:
mode:
authoronefang2019-12-12 18:48:12 +1000
committeronefang2019-12-12 18:48:12 +1000
commitb95c7142731b810a4024f0fabc658524e25bf86c (patch)
tree5f99f9c950581f452e788815ec67b505573810fa
parentSpeed up things by being clever. (diff)
downloadapt-panopticon-b95c7142731b810a4024f0fabc658524e25bf86c.zip
apt-panopticon-b95c7142731b810a4024f0fabc658524e25bf86c.tar.gz
apt-panopticon-b95c7142731b810a4024f0fabc658524e25bf86c.tar.bz2
apt-panopticon-b95c7142731b810a4024f0fabc658524e25bf86c.tar.xz
Remove some more stuff we don't really need to keep around.
-rwxr-xr-xapt-panopticon.lua4
1 files changed, 2 insertions, 2 deletions
diff --git a/apt-panopticon.lua b/apt-panopticon.lua
index ff39269..3c9e1d9 100755
--- a/apt-panopticon.lua
+++ b/apt-panopticon.lua
@@ -473,6 +473,7 @@ local postDownload = function(host, r, k)
473 local status, out = APT.execute("gpgv --keyring /usr/share/keyrings/devuan-keyring.gpg results/" .. host .. "/merged/dists/" .. r .. k .. 473 local status, out = APT.execute("gpgv --keyring /usr/share/keyrings/devuan-keyring.gpg results/" .. host .. "/merged/dists/" .. r .. k ..
474 " results/" .. host .. "/merged/dists/" .. r .. k:sub(1, -5) .. " 2>/dev/null") 474 " results/" .. host .. "/merged/dists/" .. r .. k:sub(1, -5) .. " 2>/dev/null")
475 if "0" ~= status then E("GPG check failed - " .. host .. "/merged/dists/" .. r .. k, "http", "Integrity", host) end 475 if "0" ~= status then E("GPG check failed - " .. host .. "/merged/dists/" .. r .. k, "http", "Integrity", host) end
476 os.execute('rm results/' .. host .. '/merged/dists/' .. r .. k)
476 end 477 end
477-- TODO - should check the PGP sig of InRelease as well. 478-- TODO - should check the PGP sig of InRelease as well.
478 end 479 end
@@ -879,8 +880,7 @@ else
879 end 880 end
880 881
881 while 1 <= APT.checkExes("apt-panopticon.lua " .. sendArgs) do os.execute("sleep 10") end 882 while 1 <= APT.checkExes("apt-panopticon.lua " .. sendArgs) do os.execute("sleep 10") end
882 883 os.execute('rm -f results/*.check; rm STATUS_* 2>/dev/null')
883 os.execute("rm -f results/*.check")
884 884
885 -- Create the reports. 885 -- Create the reports.
886 for n, r in pairs(APT.options.reports.value) do 886 for n, r in pairs(APT.options.reports.value) do