aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorPetter Reinholdtsen <pere@hungry.com>2006-08-27 16:36:06 +0000
committerPetter Reinholdtsen <pere@hungry.com>2006-08-27 16:36:06 +0000
commitb600be0a07be9891f7568911ed9b395fdf8f9ebd (patch)
treea421c745b9e69233081a75bb4f245d761fb56d1c
parent4c0f8f6351dd818c6ed5dd416e3f71b331d54c83 (diff)
downloadsitesummary-b600be0a07be9891f7568911ed9b395fdf8f9ebd.tar.gz
sitesummary-b600be0a07be9891f7568911ed9b395fdf8f9ebd.tar.bz2
sitesummary-b600be0a07be9891f7568911ed9b395fdf8f9ebd.tar.xz
* 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.
-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 {