cronie: own etc/cron.* dirs with empty files.
This commit is contained in:
parent
d7ba532071
commit
c2692bfeac
@ -1,7 +1,7 @@
|
|||||||
# Template file for 'cronie'
|
# Template file for 'cronie'
|
||||||
pkgname=cronie
|
pkgname=cronie
|
||||||
version=1.4.8
|
version=1.4.8
|
||||||
revision=1
|
revision=2
|
||||||
distfiles="https://fedorahosted.org/releases/c/r/cronie/cronie-$version.tar.gz"
|
distfiles="https://fedorahosted.org/releases/c/r/cronie/cronie-$version.tar.gz"
|
||||||
build_style=gnu_configure
|
build_style=gnu_configure
|
||||||
configure_args="--with-inotify --without-selinux --with-pam --disable-anacron
|
configure_args="--with-inotify --without-selinux --with-pam --disable-anacron
|
||||||
@ -30,11 +30,8 @@ Add_dependency build pam-devel
|
|||||||
|
|
||||||
post_install()
|
post_install()
|
||||||
{
|
{
|
||||||
vmkdir etc/cron.d
|
install -d ${DESTDIR}/etc/cron.{d,hourly,daily,weekly,monthly}
|
||||||
vmkdir etc/cron.hourly
|
touch ${DESTDIR}/etc/cron.{d,hourly,daily,weekly,monthly}/.owned
|
||||||
vmkdir etc/cron.daily
|
|
||||||
vmkdir etc/cron.weekly
|
|
||||||
vmkdir etc/cron.monthly
|
|
||||||
vmkdir etc/logrotate.d
|
vmkdir etc/logrotate.d
|
||||||
vmkdir var/spool/cron
|
vmkdir var/spool/cron
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user