x11-misc/lightdm: call systemd_reenable
authorMike Gilbert <floppym@gentoo.org>
Mon, 26 Feb 2018 22:03:38 +0000 (17:03 -0500)
committerMike Gilbert <floppym@gentoo.org>
Mon, 26 Feb 2018 22:03:58 +0000 (17:03 -0500)
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
x11-misc/lightdm/lightdm-1.24.0-r1.ebuild

index cd5bfce7b43924861a07b30880e3ccc9f0a9a46f..0592df3577eac59a0834ec312657d35c33ff9009 100644 (file)
@@ -127,3 +127,7 @@ src_install() {
 
        systemd_dounit "${FILESDIR}/${PN}.service"
 }
+
+pkg_postinst() {
+       systemd_reenable "${PN}.service"
+}
index 3a6907106062cf433eea5fcaa18b831ee5d566d5..ae3715bded4186ebd4e980fe37e7653eb6b4ca35 100644 (file)
@@ -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"
+}