dcron: enable virtualpkg by default.
This commit is contained in:
parent
f2ee949166
commit
eac63b90e7
|
@ -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
|
||||
|
|
Loading…
Reference in New Issue