1 |
commit: ce5a69792792040a0f7261560ccf5bd9c37c155c |
2 |
Author: Andreas Sturmlechner <asturm <AT> gentoo <DOT> org> |
3 |
AuthorDate: Fri Feb 5 20:45:43 2021 +0000 |
4 |
Commit: Andreas Sturmlechner <asturm <AT> gentoo <DOT> org> |
5 |
CommitDate: Fri Feb 5 20:57:54 2021 +0000 |
6 |
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=ce5a6979 |
7 |
|
8 |
gui-libs/display-manager-init: Improve instructions |
9 |
|
10 |
Package-Manager: Portage-3.0.14, Repoman-3.0.2 |
11 |
Signed-off-by: Andreas Sturmlechner <asturm <AT> gentoo.org> |
12 |
|
13 |
.../display-manager-init/display-manager-init-1.0.ebuild | 15 +++++++++------ |
14 |
1 file changed, 9 insertions(+), 6 deletions(-) |
15 |
|
16 |
diff --git a/gui-libs/display-manager-init/display-manager-init-1.0.ebuild b/gui-libs/display-manager-init/display-manager-init-1.0.ebuild |
17 |
index 8b5a2670683..ec9d323f4c0 100644 |
18 |
--- a/gui-libs/display-manager-init/display-manager-init-1.0.ebuild |
19 |
+++ b/gui-libs/display-manager-init/display-manager-init-1.0.ebuild |
20 |
@@ -7,10 +7,10 @@ DESCRIPTION="RC init files for starting display and login managers" |
21 |
HOMEPAGE="https://wiki.gentoo.org/wiki/Project:X11" |
22 |
|
23 |
LICENSE="GPL-2" |
24 |
-KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~ia64 ~mips ~ppc ~ppc64 ~riscv ~s390 sparc ~x86 ~amd64-linux ~x86-linux" |
25 |
SLOT="0" |
26 |
+KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~ia64 ~mips ~ppc ~ppc64 ~riscv ~s390 sparc ~x86 ~amd64-linux ~x86-linux" |
27 |
|
28 |
-S="${FILESDIR}" |
29 |
+S="${WORKDIR}" |
30 |
|
31 |
RDEPEND=" |
32 |
sys-apps/gentoo-functions |
33 |
@@ -42,10 +42,13 @@ pkg_preinst() { |
34 |
fi |
35 |
done |
36 |
if [[ "${using_xdm}" = "yes" ]]; then |
37 |
- ewarn "The 'xdm' service has been removed as it is" |
38 |
- ewarn "being replaced by the 'display-manager' service." |
39 |
- ewarn "Please migrate to using 'display-manager' and" |
40 |
- ewarn "remember to use dispatch-conf to update the" |
41 |
+ ewarn "The 'xdm' service has been replaced by new 'display-manager'" |
42 |
+ ewarn "service, please switch now:" |
43 |
+ ewarn |
44 |
+ ewarn " # rc-update del xdm default" |
45 |
+ ewarn " # rc-update add display-manager default" |
46 |
+ ewarn |
47 |
+ ewarn "Remember to run etc-update or dispatch-conf to update the" |
48 |
ewarn "config protected service files." |
49 |
fi |
50 |
} |