1 |
commit: d627c578b9e27b5349f39fcd238f108734c115f5 |
2 |
Author: Mike Gilbert <floppym <AT> gentoo <DOT> org> |
3 |
AuthorDate: Sun Aug 11 16:07:32 2019 +0000 |
4 |
Commit: Mike Gilbert <floppym <AT> gentoo <DOT> org> |
5 |
CommitDate: Sun Aug 11 16:07:32 2019 +0000 |
6 |
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=d627c578 |
7 |
|
8 |
sys-apps/systemd: add postinst message about "systemctl preset-all" |
9 |
|
10 |
Closes: https://bugs.gentoo.org/691854 |
11 |
Package-Manager: Portage-2.3.71, Repoman-2.3.16_p24 |
12 |
Signed-off-by: Mike Gilbert <floppym <AT> gentoo.org> |
13 |
|
14 |
sys-apps/systemd/systemd-242-r6.ebuild | 5 +++++ |
15 |
sys-apps/systemd/systemd-243_rc1-r1.ebuild | 5 +++++ |
16 |
sys-apps/systemd/systemd-9999.ebuild | 5 +++++ |
17 |
3 files changed, 15 insertions(+) |
18 |
|
19 |
diff --git a/sys-apps/systemd/systemd-242-r6.ebuild b/sys-apps/systemd/systemd-242-r6.ebuild |
20 |
index eb97107359b..96430b07ddd 100644 |
21 |
--- a/sys-apps/systemd/systemd-242-r6.ebuild |
22 |
+++ b/sys-apps/systemd/systemd-242-r6.ebuild |
23 |
@@ -481,6 +481,11 @@ pkg_postinst() { |
24 |
eerror "systemd again." |
25 |
eerror |
26 |
fi |
27 |
+ |
28 |
+ if [[ -z ${REPLACING_VERSIONS} ]]; then |
29 |
+ elog "To enable a useful set of services, run the following:" |
30 |
+ elog " systemctl preset-all" |
31 |
+ fi |
32 |
} |
33 |
|
34 |
pkg_prerm() { |
35 |
|
36 |
diff --git a/sys-apps/systemd/systemd-243_rc1-r1.ebuild b/sys-apps/systemd/systemd-243_rc1-r1.ebuild |
37 |
index a3e140a028c..34b6587a0db 100644 |
38 |
--- a/sys-apps/systemd/systemd-243_rc1-r1.ebuild |
39 |
+++ b/sys-apps/systemd/systemd-243_rc1-r1.ebuild |
40 |
@@ -462,6 +462,11 @@ pkg_postinst() { |
41 |
eerror "systemd again." |
42 |
eerror |
43 |
fi |
44 |
+ |
45 |
+ if [[ -z ${REPLACING_VERSIONS} ]]; then |
46 |
+ elog "To enable a useful set of services, run the following:" |
47 |
+ elog " systemctl preset-all" |
48 |
+ fi |
49 |
} |
50 |
|
51 |
pkg_prerm() { |
52 |
|
53 |
diff --git a/sys-apps/systemd/systemd-9999.ebuild b/sys-apps/systemd/systemd-9999.ebuild |
54 |
index c259ae220b7..c4350573c99 100644 |
55 |
--- a/sys-apps/systemd/systemd-9999.ebuild |
56 |
+++ b/sys-apps/systemd/systemd-9999.ebuild |
57 |
@@ -461,6 +461,11 @@ pkg_postinst() { |
58 |
eerror "systemd again." |
59 |
eerror |
60 |
fi |
61 |
+ |
62 |
+ if [[ -z ${REPLACING_VERSIONS} ]]; then |
63 |
+ elog "To enable a useful set of services, run the following:" |
64 |
+ elog " systemctl preset-all" |
65 |
+ fi |
66 |
} |
67 |
|
68 |
pkg_prerm() { |