diff --git a/srcpkgs/dcron/template b/srcpkgs/dcron/template index a940743e90..933b804bb2 100644 --- a/srcpkgs/dcron/template +++ b/srcpkgs/dcron/template @@ -1,7 +1,7 @@ # Template file for 'dcron' pkgname=dcron version=4.5 -revision=27 +revision=28 build_pie=yes conf_files="/var/spool/cron/root" replaces="cron-daemon>=0" @@ -31,9 +31,9 @@ do_build() { CRONSTAMPS=/var/spool/cronstamps ${makejobs} } do_install() { - make DESTDIR=${DESTDIR} install + make SBINDIR=/usr/bin DESTDIR=${DESTDIR} install - install -Dm755 extra/run-cron ${DESTDIR}/usr/sbin/run-cron + vbin extra/run-cron install -Dm600 extra/root.crontab ${DESTDIR}/var/spool/cron/root # crontab must be setuid for all users to work!