1 |
commit: 126d7108fb0ba692a4d56abc884fa00f7ace5bf2 |
2 |
Author: Mike Gilbert <floppym <AT> gentoo <DOT> org> |
3 |
AuthorDate: Mon Feb 26 22:03:38 2018 +0000 |
4 |
Commit: Mike Gilbert <floppym <AT> gentoo <DOT> org> |
5 |
CommitDate: Mon Feb 26 22:03:58 2018 +0000 |
6 |
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=126d7108 |
7 |
|
8 |
x11-misc/lightdm: call systemd_reenable |
9 |
|
10 |
Closes: https://bugs.gentoo.org/645648 |
11 |
Package-Manager: Portage-2.3.24_p18, Repoman-2.3.6_p99 |
12 |
|
13 |
x11-misc/lightdm/lightdm-1.18.3-r1.ebuild | 4 ++++ |
14 |
x11-misc/lightdm/lightdm-1.24.0-r1.ebuild | 6 +++++- |
15 |
2 files changed, 9 insertions(+), 1 deletion(-) |
16 |
|
17 |
diff --git a/x11-misc/lightdm/lightdm-1.18.3-r1.ebuild b/x11-misc/lightdm/lightdm-1.18.3-r1.ebuild |
18 |
index cd5bfce7b43..0592df3577e 100644 |
19 |
--- a/x11-misc/lightdm/lightdm-1.18.3-r1.ebuild |
20 |
+++ b/x11-misc/lightdm/lightdm-1.18.3-r1.ebuild |
21 |
@@ -127,3 +127,7 @@ src_install() { |
22 |
|
23 |
systemd_dounit "${FILESDIR}/${PN}.service" |
24 |
} |
25 |
+ |
26 |
+pkg_postinst() { |
27 |
+ systemd_reenable "${PN}.service" |
28 |
+} |
29 |
|
30 |
diff --git a/x11-misc/lightdm/lightdm-1.24.0-r1.ebuild b/x11-misc/lightdm/lightdm-1.24.0-r1.ebuild |
31 |
index 3a690710606..ae3715bded4 100644 |
32 |
--- a/x11-misc/lightdm/lightdm-1.24.0-r1.ebuild |
33 |
+++ b/x11-misc/lightdm/lightdm-1.24.0-r1.ebuild |
34 |
@@ -1,4 +1,4 @@ |
35 |
-# Copyright 1999-2017 Gentoo Foundation |
36 |
+# Copyright 1999-2018 Gentoo Foundation |
37 |
# Distributed under the terms of the GNU General Public License v2 |
38 |
|
39 |
EAPI=6 |
40 |
@@ -128,3 +128,7 @@ src_install() { |
41 |
|
42 |
systemd_dounit "${FILESDIR}/${PN}.service" |
43 |
} |
44 |
+ |
45 |
+pkg_postinst() { |
46 |
+ systemd_reenable "${PN}.service" |
47 |
+} |