From 6651b89995b7e36cb993c557f39ee64df8047477 Mon Sep 17 00:00:00 2001 From: Valentin Vidic Date: Wed, 22 Apr 2009 14:32:13 +0200 Subject: [PATCH] Handle amavisd-new upgrade. --- files/etc/cron.daily/amavisd-new.expect | 6 ++++++ files/etc/cron.daily/amavisd-new.restore | 6 ++++++ 2 files changed, 12 insertions(+) create mode 100644 files/etc/cron.daily/amavisd-new.expect create mode 100644 files/etc/cron.daily/amavisd-new.restore diff --git a/files/etc/cron.daily/amavisd-new.expect b/files/etc/cron.daily/amavisd-new.expect new file mode 100644 index 0000000..e5b7659 --- /dev/null +++ b/files/etc/cron.daily/amavisd-new.expect @@ -0,0 +1,6 @@ +#!/bin/sh +# +# Daily maintenance for amavisd-new +# $Id: amavisd-new.cron.daily,v 1.8 2006/08/10 13:38:45 hmh Exp $ +# +test -e /usr/sbin/amavisd-new-cronjob && exec /usr/sbin/amavisd-new-cronjob sa-clean 1>/dev/null 2>&1 diff --git a/files/etc/cron.daily/amavisd-new.restore b/files/etc/cron.daily/amavisd-new.restore new file mode 100644 index 0000000..ee9240a --- /dev/null +++ b/files/etc/cron.daily/amavisd-new.restore @@ -0,0 +1,6 @@ +#!/bin/sh +# +# Daily maintenance for amavisd-new +# $Id: amavisd-new.cron.daily,v 1.8 2006/08/10 13:38:45 hmh Exp $ +# +test -e /usr/sbin/amavisd-new-cronjob && exec /usr/sbin/amavisd-new-cronjob sa-clean -- 1.7.10.4