From d627c578b9e27b5349f39fcd238f108734c115f5 Mon Sep 17 00:00:00 2001 From: Mike Gilbert Date: Sun, 11 Aug 2019 12:07:32 -0400 Subject: sys-apps/systemd: add postinst message about "systemctl preset-all" Closes: https://bugs.gentoo.org/691854 Package-Manager: Portage-2.3.71, Repoman-2.3.16_p24 Signed-off-by: Mike Gilbert --- sys-apps/systemd/systemd-242-r6.ebuild | 5 +++++ sys-apps/systemd/systemd-243_rc1-r1.ebuild | 5 +++++ sys-apps/systemd/systemd-9999.ebuild | 5 +++++ 3 files changed, 15 insertions(+) (limited to 'sys-apps') diff --git a/sys-apps/systemd/systemd-242-r6.ebuild b/sys-apps/systemd/systemd-242-r6.ebuild index eb97107359b6..96430b07ddd7 100644 --- a/sys-apps/systemd/systemd-242-r6.ebuild +++ b/sys-apps/systemd/systemd-242-r6.ebuild @@ -481,6 +481,11 @@ pkg_postinst() { eerror "systemd again." eerror fi + + if [[ -z ${REPLACING_VERSIONS} ]]; then + elog "To enable a useful set of services, run the following:" + elog " systemctl preset-all" + fi } pkg_prerm() { diff --git a/sys-apps/systemd/systemd-243_rc1-r1.ebuild b/sys-apps/systemd/systemd-243_rc1-r1.ebuild index a3e140a028c9..34b6587a0db7 100644 --- a/sys-apps/systemd/systemd-243_rc1-r1.ebuild +++ b/sys-apps/systemd/systemd-243_rc1-r1.ebuild @@ -462,6 +462,11 @@ pkg_postinst() { eerror "systemd again." eerror fi + + if [[ -z ${REPLACING_VERSIONS} ]]; then + elog "To enable a useful set of services, run the following:" + elog " systemctl preset-all" + fi } pkg_prerm() { diff --git a/sys-apps/systemd/systemd-9999.ebuild b/sys-apps/systemd/systemd-9999.ebuild index c259ae220b73..c4350573c99d 100644 --- a/sys-apps/systemd/systemd-9999.ebuild +++ b/sys-apps/systemd/systemd-9999.ebuild @@ -461,6 +461,11 @@ pkg_postinst() { eerror "systemd again." eerror fi + + if [[ -z ${REPLACING_VERSIONS} ]]; then + elog "To enable a useful set of services, run the following:" + elog " systemctl preset-all" + fi } pkg_prerm() { -- cgit v1.2.3-65-gdbad