#569603 /etc/cron.daily/srg should create the REPORTBASE directory if it doesn't exist

Package:
srg
Source:
srg
Description:
Fast, Flexible and Detailed log analysis for the Squid Proxy
Submitter:
"v.nix.is"
Date:
2010-02-12 20:27:04 UTC
Severity:
minor
#569603#5
Date:
2010-02-12 20:25:26 UTC
From:
To:
I think the cron job for srg should mkdir the $REPORTBASE if it
doesn't exist:

    $ sudo rm -rf /var/www/srg_reports/
    $ sudo /etc/cron.daily/srg
    srg: Error creating base output directory: /var/www/srg_reports/daily
    $ sudo mkdir /var/www/srg_reports
    $ sudo /etc/cron.daily/srg
    $ ls /var/cache/srg_reports/
    daily

This is an issue if moving REPORTBASE to e.g. /var/cache/srg