diff --git a/srcpkgs/dcron/template b/srcpkgs/dcron/template index 542c53de8f..92e85e0e3f 100644 --- a/srcpkgs/dcron/template +++ b/srcpkgs/dcron/template @@ -1,7 +1,7 @@ # Template file for 'dcron' pkgname=dcron version=4.5 -revision=5 +revision=6 distfiles="http://www.jimpryor.net/linux/releases/dcron-${version}.tar.gz" build_style=custom-install short_desc="Dillon's lightweight cron daemon" @@ -44,6 +44,9 @@ do_install() vinstall ${FILESDIR}/dcron.service 644 lib/systemd/system vinstall ${FILESDIR}/dcron.virtualpkgd 644 etc/xbps/virtualpkg.d dcron + vmkdir etc/xbps/virtualpkg.d.wants + cd ${DESTDIR}/etc/xbps/virtualpkg.d.wants && \ + ln -sf ../virtualpkg.d/dcron . # crontab must be setuid for all users to work! chmod 4755 ${DESTDIR}/usr/bin/crontab