Package: bugzilla
Version: 2.18.3-1
Severity: normal
Tags: patch

Here is an updated cron.daily script which will collect the stats on all
sites, not just on the default one :

=== cut here ===
#!/bin/sh -e

umask 022

doit() {
    if [ -f /usr/share/bugzilla/lib/collectstats.pl \
        -a -f /usr/share/bugzilla/lib/whineatnews.pl ] ; then
            su www-data -c /usr/share/bugzilla/lib/collectstats.pl
            su www-data -c /usr/share/bugzilla/lib/whineatnews.pl
fi
}

doit
for site in `cd /etc/bugzilla/sites && ls`; do
    X_BUGZILLA_SITE="$site" doit
done
=== cut here ===




-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]

Reply via email to