commit: 489f2e822cae71afe2a8ccd0955b288570a57d15 Author: Tomas Fabrizio Orsi <torsi <AT> fi <DOT> uba <DOT> ar> AuthorDate: Wed Sep 6 13:17:00 2023 +0000 Commit: Mike Gilbert <floppym <AT> gentoo <DOT> org> CommitDate: Wed Sep 6 17:09:34 2023 +0000 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=489f2e82
sys-process/cronbase: changed from elog to readme.gentoo_print_elog Signed-off-by: Tomas Fabrizio Orsi <torsi <AT> fi.uba.ar> Closes: https://github.com/gentoo/gentoo/pull/32642 Signed-off-by: Mike Gilbert <floppym <AT> gentoo.org> sys-process/cronbase/cronbase-0.3.7-r10.ebuild | 19 +++++++++++++------ 1 file changed, 13 insertions(+), 6 deletions(-) diff --git a/sys-process/cronbase/cronbase-0.3.7-r10.ebuild b/sys-process/cronbase/cronbase-0.3.7-r10.ebuild index 5d70784a26c8..416f6483ad62 100644 --- a/sys-process/cronbase/cronbase-0.3.7-r10.ebuild +++ b/sys-process/cronbase/cronbase-0.3.7-r10.ebuild @@ -3,6 +3,8 @@ EAPI=7 +inherit readme.gentoo-r1 + DESCRIPTION="Base for all cron ebuilds" HOMEPAGE="https://wiki.gentoo.org/wiki/Cron" S="${WORKDIR}" @@ -17,6 +19,15 @@ RDEPEND=" acct-user/cron " +DOC_CONTENTS=" + To add a user to the cron group so it can create cron jobs, run: + + usermod -a -G cron <user> + + For more information, visit the wiki page: + https://wiki.gentoo.org/wiki/Cron +" + src_install() { newsbin "${FILESDIR}"/run-crons-${PV} run-crons @@ -24,13 +35,9 @@ src_install() { keepdir /etc/cron.{hourly,daily,weekly,monthly} keepdir /var/spool/cron/lastrun + readme.gentoo_create_doc } pkg_postinst() { - elog "To add a user to the cron group so it can create cron jobs, run:" - elog - elog " usermod -a -G cron <user>" - elog - elog "For more information, visit the wiki page:" - elog "https://wiki.gentoo.org/wiki/Cron" + readme.gentoo_print_elog }
