cronie: own etc/cron.* dirs with empty files.

This commit is contained in:
Juan RP 2011-10-12 16:27:19 +02:00
parent d7ba532071
commit c2692bfeac
1 changed files with 3 additions and 6 deletions

View File

@ -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