mirror of
https://github.com/gentoo-mirror/gentoo.git
synced 2026-09-24 04:59:14 -07:00
net-print/cups: 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=7
|
||||
@@ -253,8 +253,9 @@ multilib_src_install_all() {
|
||||
"${T}"/cupsd || die
|
||||
doinitd "${T}"/cupsd
|
||||
|
||||
# install our pam script
|
||||
pamd_mimic_system cups auth account
|
||||
if use pam; then
|
||||
pamd_mimic_system cups auth account
|
||||
fi
|
||||
|
||||
if use xinetd ; then
|
||||
# correct path
|
||||
@@ -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=7
|
||||
@@ -251,8 +251,9 @@ multilib_src_install_all() {
|
||||
"${T}"/cupsd || die
|
||||
doinitd "${T}"/cupsd
|
||||
|
||||
# install our pam script
|
||||
pamd_mimic_system cups auth account
|
||||
if use pam; then
|
||||
pamd_mimic_system cups auth account
|
||||
fi
|
||||
|
||||
if use xinetd ; then
|
||||
# correct path
|
||||
|
||||
Reference in New Issue
Block a user