diff options
author | Petter Reinholdtsen <pere@hungry.com> | 2008-07-28 16:24:06 +0000 |
---|---|---|
committer | Petter Reinholdtsen <pere@hungry.com> | 2008-07-28 16:24:06 +0000 |
commit | e89841de4f14bcd9199ec56467e7385dee0de395 (patch) | |
tree | 85d636fff991d3bb4830f47bee62c69182f87b60 | |
parent | 4c79b5826742d825812526626947285646cf244a (diff) | |
download | sitesummary-e89841de4f14bcd9199ec56467e7385dee0de395.tar.gz sitesummary-e89841de4f14bcd9199ec56467e7385dee0de395.tar.bz2 sitesummary-e89841de4f14bcd9199ec56467e7385dee0de395.tar.xz |
* Fix bug in collector hook handling. Now it uses 'update' as the
argument to the hook scripts on updates.
-rw-r--r-- | debian/changelog | 7 | ||||
-rw-r--r-- | sitesummary-collector.cgi | 2 |
2 files changed, 8 insertions, 1 deletions
diff --git a/debian/changelog b/debian/changelog index 5eeaf72..bc0066d 100644 --- a/debian/changelog +++ b/debian/changelog @@ -1,3 +1,10 @@ +sitesummary (0.0.47) UNRELEASED; urgency=low + + * Fix bug in collector hook handling. Now it uses 'update' as the + argument to the hook scripts on updates. + + -- Petter Reinholdtsen <pere@debian.org> Mon, 28 Jul 2008 18:23:41 +0200 + sitesummary (0.0.46) unstable; urgency=low * Ignore bogus hardware version 'System Version' when reporting diff --git a/sitesummary-collector.cgi b/sitesummary-collector.cgi index c9fbf86..e3800af 100644 --- a/sitesummary-collector.cgi +++ b/sitesummary-collector.cgi @@ -131,7 +131,7 @@ sub process_entry { my $status = "new"; if ( -d $newdir ) { `rm -r $newdir`; - my $status = "update"; + $status = "update"; } rename $dirname, $newdir || die; |