Gentoo Archives: gentoo-commits

From: "Thilo Bangert (bangert)" <bangert@g.o>
To: gentoo-commits@l.g.o
Subject: [gentoo-commits] gentoo-x86 commit in eclass: cron.eclass
Date: Sat, 27 Oct 2007 21:21:22
Message-Id: E1Ilt5k-0001gV-4G@stork.gentoo.org
1 bangert 07/10/27 21:21:12
2
3 Modified: cron.eclass
4 Log:
5 more crons than vixie support the system crontab - bug #89213
6
7 Revision Changes Path
8 1.11 eclass/cron.eclass
9
10 file : http://sources.gentoo.org/viewcvs.py/gentoo-x86/eclass/cron.eclass?rev=1.11&view=markup
11 plain: http://sources.gentoo.org/viewcvs.py/gentoo-x86/eclass/cron.eclass?rev=1.11&content-type=text/plain
12 diff : http://sources.gentoo.org/viewcvs.py/gentoo-x86/eclass/cron.eclass?r1=1.10&r2=1.11
13
14 Index: cron.eclass
15 ===================================================================
16 RCS file: /var/cvsroot/gentoo-x86/eclass/cron.eclass,v
17 retrieving revision 1.10
18 retrieving revision 1.11
19 diff -u -r1.10 -r1.11
20 --- cron.eclass 31 Oct 2006 17:20:38 -0000 1.10
21 +++ cron.eclass 27 Oct 2007 21:21:11 -0000 1.11
22 @@ -1,6 +1,6 @@
23 # Copyright 1999-2005 Gentoo Foundation
24 # Distributed under the terms of the GNU General Public License v2
25 -# $Header: /var/cvsroot/gentoo-x86/eclass/cron.eclass,v 1.10 2006/10/31 17:20:38 wschlich Exp $
26 +# $Header: /var/cvsroot/gentoo-x86/eclass/cron.eclass,v 1.11 2007/10/27 21:21:11 bangert Exp $
27
28 # Original Author: Aaron Walker <ka0ttic@g.o>
29 #
30 @@ -134,8 +134,8 @@
31
32 cron_pkg_postinst() {
33 echo
34 - # vixie is the only daemon that has a true system crontab
35 - if [[ "${PN}" != "vixie-cron" ]] ; then
36 + # daemons that have a true system crontab set CRON_SYSTEM_CRONTAB="yes"
37 + if [ "${CRON_SYSTEM_CRONTAB:-no}" != "yes" ] ; then
38 einfo "To activate /etc/cron.{hourly|daily|weekly|monthly} please run:"
39 einfo " crontab /etc/crontab"
40 einfo
41
42
43
44 --
45 gentoo-commits@g.o mailing list