aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--debian/changelog8
-rw-r--r--debian/sitesummary.dirs3
-rw-r--r--sitesummary-collector.cgi2
3 files changed, 12 insertions, 1 deletions
diff --git a/debian/changelog b/debian/changelog
index 7e43a5d..09001dd 100644
--- a/debian/changelog
+++ b/debian/changelog
@@ -1,3 +1,11 @@
+sitesummary (0.0.3) UNRELEASED; urgency=low
+
+ * Remove temp file when it is processed by the collector.
+ * Include the directories in /var/lib/sitesummary/ used by the
+ collector in the sitesummary package.
+
+ -- Petter Reinholdtsen <pere@debian.org> Sun, 27 Aug 2006 13:58:13 +0200
+
sitesummary (0.0.2) terra; urgency=low
* Make temp file name more unique by adding process id to it, while
diff --git a/debian/sitesummary.dirs b/debian/sitesummary.dirs
index 4491828..fe0100f 100644
--- a/debian/sitesummary.dirs
+++ b/debian/sitesummary.dirs
@@ -1 +1,2 @@
-/var/lib/sitesummary
+/var/lib/sitesummary/entries
+/var/lib/sitesummary/tmpstorage
diff --git a/sitesummary-collector.cgi b/sitesummary-collector.cgi
index 1c225d7..e7a3785 100644
--- a/sitesummary-collector.cgi
+++ b/sitesummary-collector.cgi
@@ -85,6 +85,8 @@ print "SITESUMMARY HTTP-POST OK\n";
process_entry($savefile);
+unlink $savefile;
+
exit 0;
sub process_entry {