aboutsummaryrefslogtreecommitdiffstatshomepage
diff options
context:
space:
mode:
authoronefang2019-12-28 02:23:06 +1000
committeronefang2019-12-28 02:23:06 +1000
commita30e28e4873af0f1ea24a88d126deda56d6d251f (patch)
tree26aee667d0b7ec18abc11538b37cbf022149c168
parentA better way to clean up after the archiving, no need to wait for it. (diff)
downloadapt-panopticon-a30e28e4873af0f1ea24a88d126deda56d6d251f.zip
apt-panopticon-a30e28e4873af0f1ea24a88d126deda56d6d251f.tar.gz
apt-panopticon-a30e28e4873af0f1ea24a88d126deda56d6d251f.tar.bz2
apt-panopticon-a30e28e4873af0f1ea24a88d126deda56d6d251f.tar.xz
Oops, forgot to uncomment code after testing.
Diffstat (limited to '')
-rwxr-xr-xapt-panopticon-update-data.lua5
1 files changed, 1 insertions, 4 deletions
diff --git a/apt-panopticon-update-data.lua b/apt-panopticon-update-data.lua
index 82509ad..e882c49 100755
--- a/apt-panopticon-update-data.lua
+++ b/apt-panopticon-update-data.lua
@@ -59,7 +59,6 @@ for l in files:lines() do
59 if -1 < APT.verbosity then io.stdout:write('\r' .. 'tar -xf ' .. l); io.stdout:flush() end 59 if -1 < APT.verbosity then io.stdout:write('\r' .. 'tar -xf ' .. l); io.stdout:flush() end
60 os.execute('tar -xf ' .. l) 60 os.execute('tar -xf ' .. l)
61 61
62--[[
63 os.execute('rm -f ' .. lsub .. '/*.curl') 62 os.execute('rm -f ' .. lsub .. '/*.curl')
64 os.execute('rm -f ' .. lsub .. '/STATUS_*') 63 os.execute('rm -f ' .. lsub .. '/STATUS_*')
65 64
@@ -97,11 +96,9 @@ for l in files:lines() do
97 for k in fls:lines() do 96 for k in fls:lines() do
98 fixResults(k) 97 fixResults(k)
99 end 98 end
100]]
101end 99end
102 100
103 101
104--[[
105if -1 < APT.verbosity then print('\nDeleting old RRD data.') end 102if -1 < APT.verbosity then print('\nDeleting old RRD data.') end
106os.execute('rm -fr rrd') 103os.execute('rm -fr rrd')
107if -1 < APT.verbosity then print('\nRecreating RRD data.') end 104if -1 < APT.verbosity then print('\nRecreating RRD data.') end
@@ -131,7 +128,7 @@ for l in files:lines() do
131 end 128 end
132 end 129 end
133end 130end
134]] 131
135 132
136os.execute('rm ' .. lock) 133os.execute('rm ' .. lock)
137 134