/[gentoo-x86]/eclass/cron.eclass
Gentoo

Diff of /eclass/cron.eclass

Parent Directory Parent Directory | Revision Log Revision Log | View Patch Patch

Revision 1.10 Revision 1.11
1# Copyright 1999-2005 Gentoo Foundation 1# Copyright 1999-2005 Gentoo Foundation
2# Distributed under the terms of the GNU General Public License v2 2# Distributed under the terms of the GNU General Public License v2
3# $Header: /var/cvsroot/gentoo-x86/eclass/cron.eclass,v 1.10 2006/10/31 17:20:38 wschlich Exp $ 3# $Header: /var/cvsroot/gentoo-x86/eclass/cron.eclass,v 1.11 2007/10/27 21:21:11 bangert Exp $
4 4
5# Original Author: Aaron Walker <ka0ttic@gentoo.org> 5# Original Author: Aaron Walker <ka0ttic@gentoo.org>
6# 6#
7# Purpose: The main motivation for this eclass was to simplify 7# Purpose: The main motivation for this eclass was to simplify
8# the jungle known as src_install() in cron ebuilds. Using these 8# the jungle known as src_install() in cron ebuilds. Using these
132 fi 132 fi
133} 133}
134 134
135cron_pkg_postinst() { 135cron_pkg_postinst() {
136 echo 136 echo
137 # vixie is the only daemon that has a true system crontab 137 # daemons that have a true system crontab set CRON_SYSTEM_CRONTAB="yes"
138 if [[ "${PN}" != "vixie-cron" ]] ; then 138 if [ "${CRON_SYSTEM_CRONTAB:-no}" != "yes" ] ; then
139 einfo "To activate /etc/cron.{hourly|daily|weekly|monthly} please run:" 139 einfo "To activate /etc/cron.{hourly|daily|weekly|monthly} please run:"
140 einfo " crontab /etc/crontab" 140 einfo " crontab /etc/crontab"
141 einfo 141 einfo
142 einfo "!!! That will replace root's current crontab !!!" 142 einfo "!!! That will replace root's current crontab !!!"
143 einfo 143 einfo

Legend:
Removed from v.1.10  
changed lines
  Added in v.1.11

  ViewVC Help
Powered by ViewVC 1.1.20