diff options
author | onefang | 2019-12-28 02:23:06 +1000 |
---|---|---|
committer | onefang | 2019-12-28 02:23:06 +1000 |
commit | a30e28e4873af0f1ea24a88d126deda56d6d251f (patch) | |
tree | 26aee667d0b7ec18abc11538b37cbf022149c168 | |
parent | A better way to clean up after the archiving, no need to wait for it. (diff) | |
download | apt-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.
-rwxr-xr-x | apt-panopticon-update-data.lua | 5 |
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 | ]] | ||
101 | end | 99 | end |
102 | 100 | ||
103 | 101 | ||
104 | --[[ | ||
105 | if -1 < APT.verbosity then print('\nDeleting old RRD data.') end | 102 | if -1 < APT.verbosity then print('\nDeleting old RRD data.') end |
106 | os.execute('rm -fr rrd') | 103 | os.execute('rm -fr rrd') |
107 | if -1 < APT.verbosity then print('\nRecreating RRD data.') end | 104 | if -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 |
133 | end | 130 | end |
134 | ]] | 131 | |
135 | 132 | ||
136 | os.execute('rm ' .. lock) | 133 | os.execute('rm ' .. lock) |
137 | 134 | ||