diff options
Diffstat (limited to '')
-rwxr-xr-x | apt-panopticon.lua | 4 |
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 |