From d7ba532071605d110a524117421d974d137c04b2 Mon Sep 17 00:00:00 2001 From: Juan RP Date: Wed, 12 Oct 2011 16:25:42 +0200 Subject: [PATCH] dcron: own etc/cron.*ly dirs with empty files. --- srcpkgs/dcron/template | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/srcpkgs/dcron/template b/srcpkgs/dcron/template index f0dd962823a..38806ad11f3 100644 --- a/srcpkgs/dcron/template +++ b/srcpkgs/dcron/template @@ -1,7 +1,7 @@ # Template file for 'dcron' pkgname=dcron version=4.5 -revision=3 +revision=4 distfiles="http://www.jimpryor.net/linux/releases/dcron-${version}.tar.gz" build_style=custom-install short_desc="Dillon's lightweight cron daemon" @@ -36,6 +36,8 @@ do_install() make DESTDIR=${DESTDIR} install install -d ${DESTDIR}/etc/cron.{hour,week,month}ly + touch ${DESTDIR}/etc/cron.{hour,week,month}ly/.owned + install -Dm755 extra/run-cron ${DESTDIR}/usr/sbin/run-cron install -Dm600 extra/root.crontab ${DESTDIR}/var/spool/cron/root install -Dm644 extra/crond.logrotate ${DESTDIR}/etc/logrotate.d/crond