From c2692bfeaca9fd1c807f7d451ef247b4d70e8be8 Mon Sep 17 00:00:00 2001 From: Juan RP Date: Wed, 12 Oct 2011 16:27:19 +0200 Subject: [PATCH] cronie: own etc/cron.* dirs with empty files. --- srcpkgs/cronie/template | 9 +++------ 1 file changed, 3 insertions(+), 6 deletions(-) diff --git a/srcpkgs/cronie/template b/srcpkgs/cronie/template index 30bc925d436..fce386b6acf 100644 --- a/srcpkgs/cronie/template +++ b/srcpkgs/cronie/template @@ -1,7 +1,7 @@ # Template file for 'cronie' pkgname=cronie version=1.4.8 -revision=1 +revision=2 distfiles="https://fedorahosted.org/releases/c/r/cronie/cronie-$version.tar.gz" build_style=gnu_configure configure_args="--with-inotify --without-selinux --with-pam --disable-anacron @@ -30,11 +30,8 @@ Add_dependency build pam-devel post_install() { - vmkdir etc/cron.d - vmkdir etc/cron.hourly - vmkdir etc/cron.daily - vmkdir etc/cron.weekly - vmkdir etc/cron.monthly + install -d ${DESTDIR}/etc/cron.{d,hourly,daily,weekly,monthly} + touch ${DESTDIR}/etc/cron.{d,hourly,daily,weekly,monthly}/.owned vmkdir etc/logrotate.d vmkdir var/spool/cron