summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
Diffstat (limited to 'sys-process/cronie')
-rw-r--r--sys-process/cronie/cronie-1.5.5-r1.ebuild (renamed from sys-process/cronie/cronie-1.5.5.ebuild)7
1 files changed, 5 insertions, 2 deletions
diff --git a/sys-process/cronie/cronie-1.5.5.ebuild b/sys-process/cronie/cronie-1.5.5-r1.ebuild
index 4bbef2e9bb0c..87d7137e8e3b 100644
--- a/sys-process/cronie/cronie-1.5.5.ebuild
+++ b/sys-process/cronie/cronie-1.5.5-r1.ebuild
@@ -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
@@ -83,7 +83,10 @@ src_install() {
doins contrib/0hourly
newinitd "${FILESDIR}/${PN}-1.3-initd" ${PN}
- newpamd "${FILESDIR}/${PN}-1.4.3-pamd" crond
+
+ if use pam; then
+ newpamd "${FILESDIR}/${PN}-1.4.3-pamd" crond
+ fi
systemd_newunit contrib/cronie.systemd cronie.service