From eac63b90e7e5b75733bfb2f11a9f4446cce0e703 Mon Sep 17 00:00:00 2001 From: Juan RP Date: Thu, 20 Oct 2011 17:37:09 +0200 Subject: [PATCH] dcron: enable virtualpkg by default. --- srcpkgs/dcron/template | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/srcpkgs/dcron/template b/srcpkgs/dcron/template index 542c53de8ff..92e85e0e3f1 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