aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorPetter Reinholdtsen <pere@hungry.com>2007-10-12 15:45:41 +0000
committerPetter Reinholdtsen <pere@hungry.com>2007-10-12 15:45:41 +0000
commit07bd61e122a7e79ff965a594bbfc63e691a89abe (patch)
treed10cb19f0d214a6c7c865fb6ff3d974d27370886
parent4e65e0123e5b2145a4a807aef2d4e18c6ef64e19 (diff)
downloadsitesummary-07bd61e122a7e79ff965a594bbfc63e691a89abe.tar.gz
sitesummary-07bd61e122a7e79ff965a594bbfc63e691a89abe.tar.bz2
sitesummary-07bd61e122a7e79ff965a594bbfc63e691a89abe.tar.xz
Make sure the server cron job handle a removed but not purged package. (Closes: #445604)
-rw-r--r--debian/changelog8
-rwxr-xr-xdebian/sitesummary.cron.daily5
2 files changed, 10 insertions, 3 deletions
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 <luk@debian.org> 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 <pere@debian.org> 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