commit: 126d7108fb0ba692a4d56abc884fa00f7ace5bf2 Author: Mike Gilbert <floppym <AT> gentoo <DOT> org> AuthorDate: Mon Feb 26 22:03:38 2018 +0000 Commit: Mike Gilbert <floppym <AT> gentoo <DOT> org> CommitDate: Mon Feb 26 22:03:58 2018 +0000 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=126d7108
x11-misc/lightdm: call systemd_reenable Closes: https://bugs.gentoo.org/645648 Package-Manager: Portage-2.3.24_p18, Repoman-2.3.6_p99 x11-misc/lightdm/lightdm-1.18.3-r1.ebuild | 4 ++++ x11-misc/lightdm/lightdm-1.24.0-r1.ebuild | 6 +++++- 2 files changed, 9 insertions(+), 1 deletion(-) diff --git a/x11-misc/lightdm/lightdm-1.18.3-r1.ebuild b/x11-misc/lightdm/lightdm-1.18.3-r1.ebuild index cd5bfce7b43..0592df3577e 100644 --- a/x11-misc/lightdm/lightdm-1.18.3-r1.ebuild +++ b/x11-misc/lightdm/lightdm-1.18.3-r1.ebuild @@ -127,3 +127,7 @@ src_install() { systemd_dounit "${FILESDIR}/${PN}.service" } + +pkg_postinst() { + systemd_reenable "${PN}.service" +} diff --git a/x11-misc/lightdm/lightdm-1.24.0-r1.ebuild b/x11-misc/lightdm/lightdm-1.24.0-r1.ebuild index 3a690710606..ae3715bded4 100644 --- a/x11-misc/lightdm/lightdm-1.24.0-r1.ebuild +++ b/x11-misc/lightdm/lightdm-1.24.0-r1.ebuild @@ -1,4 +1,4 @@ -# Copyright 1999-2017 Gentoo Foundation +# Copyright 1999-2018 Gentoo Foundation # Distributed under the terms of the GNU General Public License v2 EAPI=6 @@ -128,3 +128,7 @@ src_install() { systemd_dounit "${FILESDIR}/${PN}.service" } + +pkg_postinst() { + systemd_reenable "${PN}.service" +}
