Package: calamaris
Version: 2.59
Tags: patch
Here's a patch that appears to fix this bug. It's affect me, also, with
version 2.59.
M
diff -uNrb -x CVS -x '*~' -x '*.o' calamaris-2.59.orig/calamaris-cron-script
calamaris-2.59/calamaris-cron-script
--- calamaris-2.59.orig/calamaris-cron-script 2005-04-05 14:50:07.385234424
-0700
+++ calamaris-2.59/calamaris-cron-script 2005-04-05 15:34:28.056175460
-0700
@@ -87,6 +87,10 @@
if [ "$WEEKDO" != "nothing" ]; then
CALAMARISOPTIONSOLD="$CALAMARISOPTIONS"
CALAMARISOPTIONS="$CALAMARISOPTIONS -o forweekly.$DAYOFWEEK"
+ # Ensure that this file exists and is empty; if there are no entries in
the
+ # squid access.log, calamaris won't create the summary file, which
causes
+ # problems with the weekly and monthly summaries.
+ :> forweekly.$DAYOFWEEK
else
if [ "$MONTHDO" != "nothing" ]; then
CALAMARISOPTIONSOLD="$CALAMARISOPTIONS"
--
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]