dcron: own etc/cron.*ly dirs with empty files.
This commit is contained in:
parent
be8b6df05c
commit
d7ba532071
|
@ -1,7 +1,7 @@
|
||||||
# Template file for 'dcron'
|
# Template file for 'dcron'
|
||||||
pkgname=dcron
|
pkgname=dcron
|
||||||
version=4.5
|
version=4.5
|
||||||
revision=3
|
revision=4
|
||||||
distfiles="http://www.jimpryor.net/linux/releases/dcron-${version}.tar.gz"
|
distfiles="http://www.jimpryor.net/linux/releases/dcron-${version}.tar.gz"
|
||||||
build_style=custom-install
|
build_style=custom-install
|
||||||
short_desc="Dillon's lightweight cron daemon"
|
short_desc="Dillon's lightweight cron daemon"
|
||||||
|
@ -36,6 +36,8 @@ do_install()
|
||||||
make DESTDIR=${DESTDIR} install
|
make DESTDIR=${DESTDIR} install
|
||||||
|
|
||||||
install -d ${DESTDIR}/etc/cron.{hour,week,month}ly
|
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 -Dm755 extra/run-cron ${DESTDIR}/usr/sbin/run-cron
|
||||||
install -Dm600 extra/root.crontab ${DESTDIR}/var/spool/cron/root
|
install -Dm600 extra/root.crontab ${DESTDIR}/var/spool/cron/root
|
||||||
install -Dm644 extra/crond.logrotate ${DESTDIR}/etc/logrotate.d/crond
|
install -Dm644 extra/crond.logrotate ${DESTDIR}/etc/logrotate.d/crond
|
||||||
|
|
Loading…
Reference in New Issue