summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
Diffstat (limited to 'sys-process/cronie/cronie-1.4.8-r1.ebuild')
-rw-r--r--sys-process/cronie/cronie-1.4.8-r1.ebuild9
1 files changed, 7 insertions, 2 deletions
diff --git a/sys-process/cronie/cronie-1.4.8-r1.ebuild b/sys-process/cronie/cronie-1.4.8-r1.ebuild
index db6d24ae607b..361190dd58af 100644
--- a/sys-process/cronie/cronie-1.4.8-r1.ebuild
+++ b/sys-process/cronie/cronie-1.4.8-r1.ebuild
@@ -1,6 +1,6 @@
# Copyright 1999-2012 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
-# $Header: /var/cvsroot/gentoo-x86/sys-process/cronie/cronie-1.4.8-r1.ebuild,v 1.1 2012/02/13 17:32:34 polynomial-c Exp $
+# $Header: /var/cvsroot/gentoo-x86/sys-process/cronie/cronie-1.4.8-r1.ebuild,v 1.2 2012/02/13 17:38:16 polynomial-c Exp $
EAPI="3"
@@ -54,10 +54,15 @@ src_install() {
newpamd "${FILESDIR}/${PN}-1.4.3-pamd" crond
if use anacron ; then
+ insinto /etc/cron.daily
+ doins "${S}"/contrib/0anacron
+ fperms 0755 /etc/cron.daily/0anacron
+
keepdir /var/spool/anacron
+ fowners root:cron /var/spool/anacron
+ fperms 0750 /var/spool/anacron
insinto /etc
- doins "${S}"/contrib/anacrontab
newinitd "${FILESDIR}"/anacron-1.0-initd anacron
fi