aboutsummaryrefslogtreecommitdiffstatshomepage
diff options
context:
space:
mode:
-rwxr-xr-xapt-panopticon-update-data.lua4
1 files changed, 2 insertions, 2 deletions
diff --git a/apt-panopticon-update-data.lua b/apt-panopticon-update-data.lua
index 0371375..98c909a 100755
--- a/apt-panopticon-update-data.lua
+++ b/apt-panopticon-update-data.lua
@@ -41,6 +41,6 @@ end
41 41
42local files = io.popen('ls -1 results_*.tar.xz') 42local files = io.popen('ls -1 results_*.tar.xz')
43for l in files:lines() do 43for l in files:lines() do
44 print('rm -rf ' .. l:sub(1, 24)) 44 print('tar -c --xz ' .. l:sub(1, 24) .. ' -f ' .. l .. '; rm -fr ' .. l:sub(1, 24))
45 os.execute('rm -rf ' .. l:sub(1, 24)) 45 os.execute('tar -c --xz ' .. l:sub(1, 24) .. ' -f ' .. l .. '; rm -fr ' .. l:sub(1, 24))
46end 46end