diff options
-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; |