mirror of
https://github.com/gentoo-mirror/gentoo.git
synced 2026-11-23 23:27:12 -08:00
sys-apps/qingy: install pam files conditionally
Package-Manager: Portage-3.0.13, Repoman-3.0.2 Signed-off-by: Mikle Kolyada <zlogene@gentoo.org>
This commit is contained in:
@@ -1,4 +1,4 @@
|
||||
# Copyright 1999-2020 Gentoo Authors
|
||||
# Copyright 1999-2021 Gentoo Authors
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
|
||||
EAPI=6
|
||||
@@ -101,7 +101,10 @@ src_install() {
|
||||
use emacs && elisp-site-file-install "${FILESDIR}"/${SITEFILE}
|
||||
|
||||
rm "${D}"/etc/pam.d/qingy
|
||||
pamd_mimic system-local-login qingy auth account password session
|
||||
|
||||
if use pam; then
|
||||
pamd_mimic system-local-login qingy auth account password session
|
||||
fi
|
||||
|
||||
systemd_newunit "${FILESDIR}/${PN}_at.service" "${PN}@.service"
|
||||
}
|
||||
Reference in New Issue
Block a user