aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/apt-panopticon.lua
diff options
context:
space:
mode:
Diffstat (limited to 'apt-panopticon.lua')
-rwxr-xr-xapt-panopticon.lua5
1 files changed, 3 insertions, 2 deletions
diff --git a/apt-panopticon.lua b/apt-panopticon.lua
index e54e553..a97a974 100755
--- a/apt-panopticon.lua
+++ b/apt-panopticon.lua
@@ -1065,8 +1065,9 @@ else
1065 local adt = fadt:read('*l') 1065 local adt = fadt:read('*l')
1066 fadt:close() 1066 fadt:close()
1067 if (nil ~= adt) and APT.checkFile(adt) then 1067 if (nil ~= adt) and APT.checkFile(adt) then
1068 os.execute('{ mkdir -p ' .. adt:sub(1, 18) .. ' && ionice -c3 nice -n 19' .. 1068 APT.exe('mkdir -p ' .. adt:sub(1, 18))
1069 ' tar -c --xz ' .. adt .. ' -f ' .. adt:sub(1, 18) .. '/' .. adt .. '.tar.xz && rm -fr ' .. adt .. ' 2>/dev/null; } &') 1069 :And():Nice('tar -c --xz ' .. adt .. ' -f ' .. adt:sub(1, 18) .. '/' .. adt .. '.tar.xz')
1070 :And('rm -fr ' .. adt):noErr():fork()
1070 end 1071 end
1071 local dt = os.date('!%F-%H-%M') 1072 local dt = os.date('!%F-%H-%M')
1072 local fodt = io.popen('TZ="GMT" date -r results/stamp +%F-%H-%M 2>/dev/null', 'r') 1073 local fodt = io.popen('TZ="GMT" date -r results/stamp +%F-%H-%M 2>/dev/null', 'r')