From 07bd61e122a7e79ff965a594bbfc63e691a89abe Mon Sep 17 00:00:00 2001 From: Petter Reinholdtsen Date: Fri, 12 Oct 2007 15:45:41 +0000 Subject: Make sure the server cron job handle a removed but not purged package. (Closes: #445604) --- debian/changelog | 8 +++++++- debian/sitesummary.cron.daily | 5 +++-- 2 files changed, 10 insertions(+), 3 deletions(-) (limited to 'debian') diff --git a/debian/changelog b/debian/changelog index 7a0c36a..5821205 100644 --- a/debian/changelog +++ b/debian/changelog @@ -1,9 +1,15 @@ sitesummary (0.0.28) unstable; urgency=low * UNRELEASED + + [ Luk Claes ] * Removed myself from uploaders. - -- Luk Claes Sat, 1 Sep 2007 16:27:43 +0000 + [ Petter Reinholdtsen ] + * Make sure the server cron job handle a removed but not purged + package. (Closes: #445604) + + -- Petter Reinholdtsen Fri, 12 Oct 2007 17:44:02 +0200 sitesummary (0.0.27) unstable; urgency=low diff --git a/debian/sitesummary.cron.daily b/debian/sitesummary.cron.daily index e3ed7cc..23f2e3b 100755 --- a/debian/sitesummary.cron.daily +++ b/debian/sitesummary.cron.daily @@ -6,6 +6,7 @@ set -e daylimit=120 makewebreport=/usr/sbin/sitesummary-makewebreport +nodes=/usr/sbin/sitesummary-nodes # Modify this in collector.cfg to /etc/munin/ to automatically replace # the default munin configuration. @@ -61,8 +62,8 @@ EOF } # Only enable if munin is installed. -if [ -f /etc/munin/munin.conf ] ; then - generate_munin_config +if [ -f /etc/munin/munin.conf ] && [ -x /usr/sbin/sitesummary-nodes ]; then + nice generate_munin_config fi [ -d $entriesdir ] && remove_old_entries -- cgit v1.2.3