aboutsummaryrefslogtreecommitdiffstatshomepage
diff options
context:
space:
mode:
Diffstat (limited to '')
-rwxr-xr-xapt-panopticon-update-data.lua2
1 files changed, 1 insertions, 1 deletions
diff --git a/apt-panopticon-update-data.lua b/apt-panopticon-update-data.lua
index 461ae39..0371375 100755
--- a/apt-panopticon-update-data.lua
+++ b/apt-panopticon-update-data.lua
@@ -8,7 +8,6 @@ local C = APT.C
8local arg, sendArgs = APT.parseArgs({...}) 8local arg, sendArgs = APT.parseArgs({...})
9 9
10 10
11os.execute('rm -fr rrd')
12 11
13local files = io.popen('ls -1 results_*.tar.xz') 12local files = io.popen('ls -1 results_*.tar.xz')
14for l in files:lines() do 13for l in files:lines() do
@@ -16,6 +15,7 @@ for l in files:lines() do
16 os.execute('tar -xf ' .. l) 15 os.execute('tar -xf ' .. l)
17end 16end
18 17
18os.execute('rm -fr rrd')
19local files = io.popen('ls -d1 results_*') 19local files = io.popen('ls -d1 results_*')
20for l in files:lines() do 20for l in files:lines() do
21 if ('results_old' ~= l) and ('.tar.xz' ~= l:sub(25, -1)) then 21 if ('results_old' ~= l) and ('.tar.xz' ~= l:sub(25, -1)) then