commit: f88d698b1381a4c1cd1bc7f0630f839c537441fa Author: Chema Alonso Josa <nimiux <AT> gentoo <DOT> org> AuthorDate: Thu Oct 5 20:44:52 2017 +0000 Commit: José María Alonso <nimiux <AT> gentoo <DOT> org> CommitDate: Thu Oct 5 20:45:29 2017 +0000 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=f88d698b
app-admin/logrotate: Adds postinstall message for running systems using systemd Gentoo-Bug: https://bugs.gentoo.org/show_bug.cgi?id=357275 Package-Manager: Portage-2.3.8, Repoman-2.3.3 app-admin/logrotate/logrotate-3.12.3-r1.ebuild | 5 +++++ app-admin/logrotate/logrotate-3.12.3-r2.ebuild | 4 ++++ 2 files changed, 9 insertions(+) diff --git a/app-admin/logrotate/logrotate-3.12.3-r1.ebuild b/app-admin/logrotate/logrotate-3.12.3-r1.ebuild index ec6ce72f535..b5f5d4e95d9 100644 --- a/app-admin/logrotate/logrotate-3.12.3-r1.ebuild +++ b/app-admin/logrotate/logrotate-3.12.3-r1.ebuild @@ -78,11 +78,16 @@ src_install() { } pkg_postinst() { + elog elog "The ${PN} binary is now installed under /usr/bin. Please" elog "update your links" elog move_old_state_file elog + elog "If you are running systemd you might need to run:" + elog "systemd-tmpfiles --create /usr/lib/tmpfiles.d/logrotate.conf" + elog "in order to create the new location of the logrotate state file" + elog if [[ -z ${REPLACING_VERSIONS} ]] ; then elog "If you wish to have logrotate e-mail you updates, please" elog "emerge virtual/mailx and configure logrotate in" diff --git a/app-admin/logrotate/logrotate-3.12.3-r2.ebuild b/app-admin/logrotate/logrotate-3.12.3-r2.ebuild index 89ad370fbf1..f0661a39594 100644 --- a/app-admin/logrotate/logrotate-3.12.3-r2.ebuild +++ b/app-admin/logrotate/logrotate-3.12.3-r2.ebuild @@ -79,10 +79,14 @@ src_install() { } pkg_postinst() { + elog elog "The ${PN} binary is now installed under /usr/bin. Please" elog "update your links" elog move_old_state_file + elog "If you are running systemd you might need to run:" + elog "systemd-tmpfiles --create /usr/lib/tmpfiles.d/logrotate.conf" + elog "in order to create the new location of the logrotate state file" elog if [[ -z ${REPLACING_VERSIONS} ]] ; then elog "If you wish to have logrotate e-mail you updates, please"