mirror of
https://github.com/gentoo-mirror/gentoo.git
synced 2026-11-06 17:47:07 -08:00
sys-process/at: 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
|
||||
@@ -64,7 +64,10 @@ src_install() {
|
||||
|
||||
newinitd "${FILESDIR}"/atd.rc8 atd
|
||||
newconfd "${FILESDIR}"/atd.confd atd
|
||||
newpamd "${FILESDIR}"/at.pamd-3.1.13-r1 atd
|
||||
|
||||
if use pam; then
|
||||
newpamd "${FILESDIR}"/at.pamd-3.1.13-r1 atd
|
||||
fi
|
||||
|
||||
# Preserve existing .SEQ files (bug #386625)
|
||||
local seq_file="${EROOT}/var/spool/at/atjobs/.SEQ"
|
||||
@@ -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
|
||||
@@ -67,7 +67,10 @@ src_install() {
|
||||
|
||||
newinitd "${FILESDIR}"/atd.rc8 atd
|
||||
newconfd "${FILESDIR}"/atd.confd atd
|
||||
newpamd "${FILESDIR}"/at.pamd-3.1.13-r1 atd
|
||||
|
||||
if use pam; then
|
||||
newpamd "${FILESDIR}"/at.pamd-3.1.13-r1 atd
|
||||
fi
|
||||
|
||||
# Preserve existing .SEQ files (bug #386625)
|
||||
local seq_file="${EROOT}/var/spool/at/atjobs/.SEQ"
|
||||
Reference in New Issue
Block a user