mirror of
https://github.com/gentoo-mirror/gentoo.git
synced 2026-09-24 04:59:14 -07:00
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:
@@ -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
|
||||
|
||||
@@ -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
|
||||
|
||||
@@ -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
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user