aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/apt-panopticon.lua
diff options
context:
space:
mode:
authoronefang2019-12-03 06:25:24 +1000
committeronefang2019-12-03 06:25:24 +1000
commit35f5789a7dafd21127f030d278f7fcb1e2ce76bf (patch)
tree4c5d559196c3a2e8cb7f9b302f269dc9a1995bb4 /apt-panopticon.lua
parentAdd max time for each download. (diff)
downloadapt-panopticon-35f5789a7dafd21127f030d278f7fcb1e2ce76bf.zip
apt-panopticon-35f5789a7dafd21127f030d278f7fcb1e2ce76bf.tar.gz
apt-panopticon-35f5789a7dafd21127f030d278f7fcb1e2ce76bf.tar.bz2
apt-panopticon-35f5789a7dafd21127f030d278f7fcb1e2ce76bf.tar.xz
Make unpacking nicer.
Diffstat (limited to 'apt-panopticon.lua')
-rwxr-xr-xapt-panopticon.lua4
1 files changed, 2 insertions, 2 deletions
diff --git a/apt-panopticon.lua b/apt-panopticon.lua
index fd757ec..c3e0795 100755
--- a/apt-panopticon.lua
+++ b/apt-panopticon.lua
@@ -671,8 +671,8 @@ local postDownload = function(host, r, k)
671 " && [ ! -f results/" .. host .. "/merged/dists/" .. r .. k .. " ]; then cp -a" .. 671 " && [ ! -f results/" .. host .. "/merged/dists/" .. r .. k .. " ]; then cp -a" ..
672 " results/" .. host .. "/merged/dists/" .. r .. k .. ".old" .. 672 " results/" .. host .. "/merged/dists/" .. r .. k .. ".old" ..
673 " results/" .. host .. "/merged/dists/" .. r .. k .. "; fi") 673 " results/" .. host .. "/merged/dists/" .. r .. k .. "; fi")
674 if ".gz" == k:sub(-3, -1) then execute("gzip -dfk results/" .. host .. "/merged/dists/" .. r .. k) end 674 if ".gz" == k:sub(-3, -1) then execute("ionice -c3 nice -n 19 gzip -dfk results/" .. host .. "/merged/dists/" .. r .. k) end
675 if ".xz" == k:sub(-3, -1) then execute("xz -dfk results/" .. host .. "/merged/dists/" .. r .. k .. " 2>/dev/null") end 675 if ".xz" == k:sub(-3, -1) then execute("ionice -c3 nice -n 19 xz -dfk results/" .. host .. "/merged/dists/" .. r .. k .. " 2>/dev/null") end
676 if testing("Integrity") then 676 if testing("Integrity") then
677 if ".gpg" == k:sub(-4, -1) then 677 if ".gpg" == k:sub(-4, -1) then
678 local status, out = execute("gpgv --keyring /usr/share/keyrings/devuan-keyring.gpg results/" .. host .. "/merged/dists/" .. r .. k .. 678 local status, out = execute("gpgv --keyring /usr/share/keyrings/devuan-keyring.gpg results/" .. host .. "/merged/dists/" .. r .. k ..