From b95c7142731b810a4024f0fabc658524e25bf86c Mon Sep 17 00:00:00 2001 From: onefang Date: Thu, 12 Dec 2019 18:48:12 +1000 Subject: Remove some more stuff we don't really need to keep around. --- apt-panopticon.lua | 4 ++-- 1 file 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) local status, out = APT.execute("gpgv --keyring /usr/share/keyrings/devuan-keyring.gpg results/" .. host .. "/merged/dists/" .. r .. k .. " results/" .. host .. "/merged/dists/" .. r .. k:sub(1, -5) .. " 2>/dev/null") if "0" ~= status then E("GPG check failed - " .. host .. "/merged/dists/" .. r .. k, "http", "Integrity", host) end + os.execute('rm results/' .. host .. '/merged/dists/' .. r .. k) end -- TODO - should check the PGP sig of InRelease as well. end @@ -879,8 +880,7 @@ else end while 1 <= APT.checkExes("apt-panopticon.lua " .. sendArgs) do os.execute("sleep 10") end - - os.execute("rm -f results/*.check") + os.execute('rm -f results/*.check; rm STATUS_* 2>/dev/null') -- Create the reports. for n, r in pairs(APT.options.reports.value) do -- cgit v1.1