x11-misc/sddm: call systemd_reenable in postinst

Bug: https://bugs.gentoo.org/627984
Package-Manager: Portage-2.3.6_p39, Repoman-2.3.3_p17
This commit is contained in:
Mike Gilbert
2017-08-28 18:21:45 -04:00
parent 5abb788486
commit 934192b55a
3 changed files with 9 additions and 3 deletions

View File

@@ -2,7 +2,7 @@
# Distributed under the terms of the GNU General Public License v2
EAPI=6
inherit cmake-utils user
inherit cmake-utils systemd user
DESCRIPTION="Simple Desktop Display Manager"
HOMEPAGE="https://github.com/sddm/sddm"
@@ -68,6 +68,8 @@ pkg_postinst() {
enewgroup ${PN}
enewuser ${PN} -1 -1 /var/lib/${PN} ${PN},video
systemd_reenable sddm.service
if use consolekit && use pam && [[ -e "${ROOT}"/etc/pam.d/system-login ]]; then
local line=$(grep "pam_ck_connector.*nox11" "${ROOT}"/etc/pam.d/system-login)
if [[ -z ${line} ]]; then

View File

@@ -2,7 +2,7 @@
# Distributed under the terms of the GNU General Public License v2
EAPI=6
inherit cmake-utils user
inherit cmake-utils systemd user
DESCRIPTION="Simple Desktop Display Manager"
HOMEPAGE="https://github.com/sddm/sddm"
@@ -74,6 +74,8 @@ pkg_postinst() {
enewgroup ${PN}
enewuser ${PN} -1 -1 /var/lib/${PN} ${PN},video
systemd_reenable sddm.service
if use consolekit && use pam && [[ -e "${ROOT}"/etc/pam.d/system-login ]]; then
local line=$(grep "pam_ck_connector.*nox11" "${ROOT}"/etc/pam.d/system-login)
if [[ -z ${line} ]]; then

View File

@@ -3,7 +3,7 @@
EAPI=6
inherit cmake-utils user
inherit cmake-utils systemd user
DESCRIPTION="Simple Desktop Display Manager"
HOMEPAGE="https://github.com/sddm/sddm"
@@ -59,4 +59,6 @@ src_configure() {
pkg_postinst() {
enewgroup ${PN}
enewuser ${PN} -1 -1 /var/lib/${PN} ${PN},video
systemd_reenable sddm.service
}