summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorThilo Bangert <bangert@gentoo.org>2007-10-27 21:21:11 +0000
committerThilo Bangert <bangert@gentoo.org>2007-10-27 21:21:11 +0000
commit8b2ea2d1062b306bdfe2c95a0c8c4ea96e341145 (patch)
tree0139720f4bdb1d80206ed18e2d542a963682e539 /eclass/cron.eclass
parentremove old versions (diff)
downloadgentoo-2-8b2ea2d1062b306bdfe2c95a0c8c4ea96e341145.tar.gz
gentoo-2-8b2ea2d1062b306bdfe2c95a0c8c4ea96e341145.tar.bz2
gentoo-2-8b2ea2d1062b306bdfe2c95a0c8c4ea96e341145.zip
more crons than vixie support the system crontab - bug #89213
Diffstat (limited to 'eclass/cron.eclass')
-rw-r--r--eclass/cron.eclass6
1 files changed, 3 insertions, 3 deletions
diff --git a/eclass/cron.eclass b/eclass/cron.eclass
index 8c09be4eced0..dae30d612381 100644
--- a/eclass/cron.eclass
+++ b/eclass/cron.eclass
@@ -1,6 +1,6 @@
# Copyright 1999-2005 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
-# $Header: /var/cvsroot/gentoo-x86/eclass/cron.eclass,v 1.10 2006/10/31 17:20:38 wschlich Exp $
+# $Header: /var/cvsroot/gentoo-x86/eclass/cron.eclass,v 1.11 2007/10/27 21:21:11 bangert Exp $
# Original Author: Aaron Walker <ka0ttic@gentoo.org>
#
@@ -134,8 +134,8 @@ docrontab() {
cron_pkg_postinst() {
echo
- # vixie is the only daemon that has a true system crontab
- if [[ "${PN}" != "vixie-cron" ]] ; then
+ # daemons that have a true system crontab set CRON_SYSTEM_CRONTAB="yes"
+ if [ "${CRON_SYSTEM_CRONTAB:-no}" != "yes" ] ; then
einfo "To activate /etc/cron.{hourly|daily|weekly|monthly} please run:"
einfo " crontab /etc/crontab"
einfo