diff options
author | onefang | 2019-11-26 01:02:49 +1000 |
---|---|---|
committer | onefang | 2019-11-26 01:02:49 +1000 |
commit | 04443fb1f8e3ddf5994243242a1eb837bd6fbaad (patch) | |
tree | f4144c856139d4da664b4c6df30a3173e8b005e8 | |
parent | Oops, clean up after curl downloads. (diff) | |
download | apt-panopticon-04443fb1f8e3ddf5994243242a1eb837bd6fbaad.zip apt-panopticon-04443fb1f8e3ddf5994243242a1eb837bd6fbaad.tar.gz apt-panopticon-04443fb1f8e3ddf5994243242a1eb837bd6fbaad.tar.bz2 apt-panopticon-04443fb1f8e3ddf5994243242a1eb837bd6fbaad.tar.xz |
Put stamp file back.
-rwxr-xr-x | apt-panopticon.lua | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/apt-panopticon.lua b/apt-panopticon.lua index 19f48c9..bf6f2bc 100755 --- a/apt-panopticon.lua +++ b/apt-panopticon.lua | |||
@@ -872,6 +872,7 @@ if 0 < #arg then | |||
872 | logPost() | 872 | logPost() |
873 | logFile:close() | 873 | logFile:close() |
874 | else | 874 | else |
875 | os.execute("mkdir -p results; if [ -f results/stamp ]; then mv results/stamp results/stamp.old; else touch results/stamp.old -t 199901010000; fi; touch results/stamp") | ||
875 | if not keep then | 876 | if not keep then |
876 | os.execute("rm -f results/*.curl") | 877 | os.execute("rm -f results/*.curl") |
877 | os.execute("rm -f results/*.log") | 878 | os.execute("rm -f results/*.log") |