From b5fdd3a29c1af50f48ba881b4128b83b1789182f Mon Sep 17 00:00:00 2001 From: Thilo Bangert Date: Wed, 24 Apr 2002 23:12:33 +0000 Subject: new non-intrusive qmail-notify.cron for /etc/cron.hourly --- net-mail/qmail-notify/files/qmail-notify.cron | 6 ++++++ net-mail/qmail-notify/qmail-notify-0.92.ebuild | 7 ++++--- 2 files changed, 10 insertions(+), 3 deletions(-) create mode 100644 net-mail/qmail-notify/files/qmail-notify.cron diff --git a/net-mail/qmail-notify/files/qmail-notify.cron b/net-mail/qmail-notify/files/qmail-notify.cron new file mode 100644 index 000000000000..e886e4ae190c --- /dev/null +++ b/net-mail/qmail-notify/files/qmail-notify.cron @@ -0,0 +1,6 @@ +#!/bin/sh +# +# uncomment this to make it work +# + +#exec qmail-notify -r diff --git a/net-mail/qmail-notify/qmail-notify-0.92.ebuild b/net-mail/qmail-notify/qmail-notify-0.92.ebuild index 084c70c2df7d..23c811ae2c99 100644 --- a/net-mail/qmail-notify/qmail-notify-0.92.ebuild +++ b/net-mail/qmail-notify/qmail-notify-0.92.ebuild @@ -23,11 +23,11 @@ src_compile() { } src_install () { - exeinto /usr/bin + exeinto /usr/sbin doexe qmail-notify exeinto /etc/cron.hourly - newexe cron.hourly qmail-notify.cron + doexe ${FILESDIR}/qmail-notify.cron dodoc README ANNOUNCEMENT TODO cron.hourly } @@ -36,7 +36,8 @@ src_install () { pkg_postinst() { echo - einfo "A qmail-notify.cron was put in /etc/cron.hourly!" + einfo "Edit qmail-notify.cron in /etc/cron.hourly" + einfo "to activate qmail-notify!" echo -- cgit v1.2.3-65-gdbad