aboutsummaryrefslogtreecommitdiffstats
path: root/sitesummary-collector.cgi
diff options
context:
space:
mode:
authorPetter Reinholdtsen <pere@hungry.com>2008-07-28 16:24:06 +0000
committerPetter Reinholdtsen <pere@hungry.com>2008-07-28 16:24:06 +0000
commite89841de4f14bcd9199ec56467e7385dee0de395 (patch)
tree85d636fff991d3bb4830f47bee62c69182f87b60 /sitesummary-collector.cgi
parent4c79b5826742d825812526626947285646cf244a (diff)
downloadsitesummary-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.
Diffstat (limited to 'sitesummary-collector.cgi')
-rw-r--r--sitesummary-collector.cgi2
1 files changed, 1 insertions, 1 deletions
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;