diff options
author | Mike Gilbert <floppym@gentoo.org> | 2019-08-11 12:07:32 -0400 |
---|---|---|
committer | Mike Gilbert <floppym@gentoo.org> | 2019-08-11 12:07:32 -0400 |
commit | d627c578b9e27b5349f39fcd238f108734c115f5 (patch) | |
tree | 1109db72ae1bec869efb4970f20fd43bfec85517 /sys-apps/systemd | |
parent | www-plugins/chrome-binary-plugins: automated update (diff) | |
download | gentoo-d627c578b9e27b5349f39fcd238f108734c115f5.tar.gz gentoo-d627c578b9e27b5349f39fcd238f108734c115f5.tar.bz2 gentoo-d627c578b9e27b5349f39fcd238f108734c115f5.zip |
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 <floppym@gentoo.org>
Diffstat (limited to 'sys-apps/systemd')
-rw-r--r-- | sys-apps/systemd/systemd-242-r6.ebuild | 5 | ||||
-rw-r--r-- | sys-apps/systemd/systemd-243_rc1-r1.ebuild | 5 | ||||
-rw-r--r-- | sys-apps/systemd/systemd-9999.ebuild | 5 |
3 files changed, 15 insertions, 0 deletions
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() { |